Thread (22 messages) flat view 22 messages, 5 authors, 2016-06-15

Re: Why is git clone not checking out files?

From: Jakub Narebski <hidden>
Date: 2016-06-15 22:42:51

Shawn O. Pearce wrote:
Bill Lear [off-list ref] wrote:
quoted
% git --bare clone --shared
% GIT_DIR=. git fetch git://source/public/project
You did not ask for a tracking branch to be created.  So the
result of your fetch is in FETCH_HEAD only.  Try instead:

GIT_DIR=. git fetch git://source/public/project topic:refs/heads/master
Or you can use "git clone --bare --shared" (not "git --bare clone";
there is a diference).

-- 
Jakub Narebski
Poland
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help