Thread (5 messages) 5 messages, 4 authors, 2016-06-15

Re: Suggestions for documentation

flat view

From: Jakub Narebski <hidden>
Date: 2016-06-15 22:43:17

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help