Re: [RFC/PATCH] branch: new option --will-track
- From
Andreas Krey <a.krey@gmx.de>
- Date
- Dec 18, 2009, 06:18 UTC
- Message-ID
- <20091218061851.GA10221@inner.home.ulmdo.de>
- In-Reply-To
- <7vaaxhdu1f.fsf@alter.siamese.dyndns.org>
On Thu, 17 Dec 2009 16:07:08 +0000, Junio C Hamano wrote: ...
> Also "git pull --remember $there $this" might be a good way to tell the > configuration mechanism from the UI to remember that "I always want to > merge $this branch from $there while on the branch I am currently on", and > its implementation may probably use "git branch --reconfigure" internally.
Actually my favorite would be 'git push --track $there', pushing the current local branch to $there and setting up tracking. That way the tracking decision need not be made before the remote branch actually exists.
Andreas