Re: Suggestions for documentation
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Jun 21, 2007, 15:16 UTC
- Message-ID
- <f5e4no$b6f$1@sea.gmane.org>
- In-Reply-To
- <467A5FE1.1010401@gmail.com>
Claudio Scordino wrote:
Show 9 quoted lines
> 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