Question about "branch.<name>.merge"
- From
- Josh Ralburton <josh.ralburton@gmail.com>
- Date
- Mar 18, 2011, 19:35 UTC
- Message-ID
- <AANLkTin-96TK_8MjAM7MB4CCyZ0ZSvD=ZanaYWLiXsvC@mail.gmail.com>
This is a typical section from a .git config file:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = git://git.kernel.org/pub/scm/git/git.git
[branch "master"]
remote = origin
merge = refs/heads/masterI am curious why "branch.master.merge=refs/heads/master" was implemented to refer to the remote branch (refs/heads/master) rather than the local branch (refs/remotes/origin/master).
Thanks.
Josh