Re: [PATCH] Documentation: update git-pull.txt for clone's new default behavior
- From
Junio C Hamano <junkio@cox.net>
- Date
- Jan 6, 2007, 01:17 UTC
- Message-ID
- <7v4pr5ar82.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <594263.16987.qm@web31811.mail.mud.yahoo.com>
Luben Tuikov <ltuikov@yahoo.com> writes:
Show 9 quoted lines
>> [remote "origin"] >> url = http://blah/blah.git >> fetch = refs/heads/master >> >> is also fine. The point is that you do not have to use tracking >> branches. ", and when you get it here, ..." part is optional. > > Ok. So then in this case "fetch = refs/heads/master" describes > .git/refs/heads/master or something else?
It names http://blah/blah.git/refs/heads/master (unless blah.git repository uses packed refs then has pruned the loose refs).
> If it does, then this is a local map.
No, it is just a list of remote refs (one element list because there is only one "fetch =" line).
> Does this mean that "fetch = <remote>:" is legal? Shouldn't the > RHS always exist?
Documentation/pull-fetch-param.txt