]> git.ipfire.org Git - thirdparty/git.git/commit - remote.c
remote.c: introduce remote.pushdefault
authorRamkumar Ramachandra <artagnon@gmail.com>
Tue, 2 Apr 2013 07:40:33 +0000 (13:10 +0530)
committerJunio C Hamano <gitster@pobox.com>
Tue, 2 Apr 2013 17:41:42 +0000 (10:41 -0700)
commit224c2171637ee71c36cb6b0ed314d14216725d6f
tree711aa2f13216d2c8676481515efa11c7ab84a676
parentf24f715e05399cba19cb9455fdd7d8a9806fe61b
remote.c: introduce remote.pushdefault

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 Ramachandra <artagnon@gmail.com>
Reviewed-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config.txt
remote.c
t/t5516-fetch-push.sh