Claudio Scordino wrote:
actually I didn't understand the difference between "git clone --bare" and
"git --bare fetch" either... (maybe is not clear in the documentation ?)
For instance, what should be used when setting up a public not-working repository ?
I mean, we can use both
git --bare init
git --bare fetch ... master:master
"git --bare <command>" is equivalent to "git --git-dir=. <command>", and
it only tells where to find repository...
and
git clone --bare ...
...while "git clone --bare" setups _bare_ repository, which means
1:1 mapping of references, and no working area.
--
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git