How to make fetch get everything?

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

 



Hi List,

In one book it says that "git fetch [remote]" pulls down everything you
don't currently have in your local repository.  However, when I look at
FETCH_HEAD it only has the master head.  Other branches don't seem to get
fetched.

I tried "git fetch [remote] *:*" but that gave fatal error messages.

Then I tried "git fetch [remote] "*:foo/*" which worked great - I got every
single branch.

I am setting up a shared repo for a small devel team, which I want everyone
to push/pull to.   It seems safer to do that, than to have people just make
the shared mount their current directory, then run git commands, but how can
people see every branch in the shared repo using only fetch, other than the
trick with foo/* that I used above?  Am I missing something, or is this just
going to be kind of clunky?

Thanks,

Gary Carter

--
View this message in context: http://git.661346.n2.nabble.com/How-to-make-fetch-get-everything-tp6425155p6425155.html
Sent from the git mailing list archive at Nabble.com.
--
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]