[PATCH 3/4] remote.c: introduce remote.pushdefault

2013-03-18 Thread Ramkumar Ramachandra
This new configuration variable defines the default remote to push to, and overrides `branch.name.remote` for all branches. It is useful in the typical triangular-workflow setup, where the remote you're fetching from is different from the remote you're pushing to. Signed-off-by: Ramkumar

Re: [PATCH 3/4] remote.c: introduce remote.pushdefault

2013-03-18 Thread Eric Sunshine
On Mon, Mar 18, 2013 at 9:16 AM, Ramkumar Ramachandra artag...@gmail.com wrote: branch.name.remote:: - When in branch name, it tells 'git fetch' and 'git push' which - remote to fetch from/push to. It defaults to `origin` if no remote is - configured. `origin` is also used