Re: Why is git clone not checking out files?

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

 



Shawn O. Pearce wrote:
> Bill Lear <rael@xxxxxxxxxx> wrote:

>> % 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
-
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]