Re: [PATCH] Documentation: update git-pull.txt for clone's new default behavior
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Jan 2, 2007, 00:38 UTC
- Message-ID
- <enc9cn$a4o$1@sea.gmane.org>
- In-Reply-To
- <7vd55y46ta.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
Show 5 quoted lines
> So after a clone, you would get: > > [remote "origin"] > url = .... > fetch = refs/heads/*:refs/remotes/origin/*
By the way, I have thought that you would also get (to avoid nasty "we don't know which branch is first in glob")
fetch = refs/heads/master:refs/remotes/origin/master
or
fetch = refs/heads/master:refs/remotes/origin/HEAD
(if master was current branch)
> [branch "master"] > remote = origin > merge = refs/heads/master
-- Jakub Narebski Warsaw, Poland ShadeHawk on #git