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

Re: Why is git clone not checking out files?

flat view

From: Shawn O. Pearce <hidden>
Date: 2016-06-15 22:42:51

Bill Lear [off-list ref] wrote:
% cd /repos/git/project
% GIT_DIR=. git branch
  topic

And then, tried it all again:

% cd ..
% rm -rf project
% mkdir project
% cd project
% 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

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