Re: [PATCH] Documentation: update git-pull.txt for clone's new default behavior

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

 



Junio C Hamano wrote:

> 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


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