git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Claudio Scordino
Message 5 of 5 in “Suggestions for documentation”
  1. Claudio ScordinoJun 19, 2007
  2. Johannes SchindelinJun 19, 2007
  3. Luiz Fernando N. CapitulinoJun 20, 2007
  4. Claudio ScordinoJun 21, 2007
  5. Jakub NarebskiJun 21, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.