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.