git clone-bare

CommandNew filesChanged filesDeleted files
Alice/> mkdir foo
snap no: 1
Alice/> echo one > foo/one.txt
snap no: 2
Alice/> echo two > foo/two.txt
snap no: 3
Alice/> git init
Initialized empty Git repository in /home/rene/github/github/git-internals/repos/clone-bare/Alice/.git/
snap no: 4
Alice/> git add .
snap no: 5
Alice/> git commit -m "add foo/one.txt, foo/two.txt"
[master (root-commit) e45cc86] add foo/one.txt, foo/two.txt
 2 files changed, 2 insertions(+)
 create mode 100644 foo/one.txt
 create mode 100644 foo/two.txt
snap no: 6
Depot/> git clone --bare /home/rene/github/github/git-internals/repos/clone-bare/Alice .
Cloning into bare repository '.'...
done.
snap no: 1
Bob/> git clone /home/rene/github/github/git-internals/repos/clone-bare/Depot .
Cloning into '.'...
done.
snap no: 1
.git/HEAD
.git/index
.git/config
.git/packed-refs
.git/description
.git/refs/heads/master
.git/refs/remotes/origin/HEAD
.git/info/exclude
.git/hooks/pre-rebase.sample
.git/hooks/pre-push.sample
.git/hooks/applypatch-msg.sample
.git/hooks/pre-commit.sample
.git/hooks/post-update.sample
.git/hooks/commit-msg.sample
.git/hooks/pre-applypatch.sample
.git/hooks/update.sample
.git/hooks/prepare-commit-msg.sample
.git/logs/HEAD
.git/logs/refs/heads/master
.git/logs/refs/remotes/origin/HEAD
.git/objects/f7/19efd430d52bcfc8566a43b2eb655688d38871 [blob]
.git/objects/e4/5cc86f9d3827253b78b100cced53c51e616cc6 [commit]
.git/objects/56/26abf0f72e58d7a153368ba57db4c673c0e171 [blob]
.git/objects/31/cea1998e93070b517369aa1461db922e14e424 [tree]
.git/objects/ef/a4c546776cd5539cb54969a5e1c110b3232ee2 [tree]
foo/two.txt
foo/one.txt