Re: Why is git clone not checking out files?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday, January 30, 2007 at 14:09:07 (-0500) Shawn O. Pearce writes:
>...
>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

Ok, then when I clone this my master branch in my cloned repo will
actually be pointing to the topic branch of the remote repo?

[recreate dir, re-init, fetch as above, clone; now, cd into cloned repo]
% cd project
% git branch
* master
  origin

This makes me really nervous, like a nervousness-inducing cloaking
device would.  I'm not enough of a git master to just "use the force".
When I go into my cloned repo, I want to see "topic" for my branch
name, not master...

BTW, I note also that the clone seems to have taken GOBS more time
this time around.  Am I seeing things or would this be a result of the
fetch gymnastics above?


Bill
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]