Skip to content

Commit

Permalink
add diff a clone respository
Browse files Browse the repository at this point in the history
  • Loading branch information
dindinw committed Sep 26, 2012
1 parent 7bbaca0 commit 7395fe9
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions internal/git_types.md
Expand Up @@ -66,6 +66,28 @@ show the content of the blob
$ git cat-file -p 303ff9
first file

clone a new resposity test1-clone from test1

$ git clone test1/ test1-clone
Cloning into 'test1-clone'...
warning: You appear to have cloned an empty repository.
done.

$ diff -r test1 test1-clone/
Only in test1: first.txt
diff -r test1/.git/config test1-clone/.git/config
5a6,11
> [remote "origin"]
> fetch = +refs/heads/*:refs/remotes/origin/*
> url = /home/alex/works/tools/git-sandbox/test1/
> [branch "master"]
> remote = origin
> merge = refs/heads/master
Only in test1/.git: index




## Tree Type

## Commit Type
Expand Down

0 comments on commit 7395fe9

Please sign in to comment.