Re: How can I access remote branches in a cloned repository on my local machine?

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

 



On Sat, 20 Oct 2007, Julian Phillips wrote:

 The problem is, when I clone git@xxxxxxxxxxxxxxxxx:dev, the various
 <username>/master's aren't there. I have tried a bunch of different ways,
 but they all give me errors. For example:

The default fetch refspec doesn't include the remotes - after all, you normally don't want the origin for your origin ...

 How can I access remote branches in a cloned repository on my local
 machine?

Try something like:

git config remote.origin.fetch +refs/remotes/*:+refs/remotes/*

sorry, that should have been:
git config remote.origin.fetch +refs/remotes/*:refs/remotes/*

git fetch

--
Julian

 ---
"The National Association of Theater Concessionaires reported that in
1986, 60% of all candy sold in movie theaters was sold to Roger Ebert."
		-- D. Letterman
-
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]

  Powered by Linux