Add concept of 'publish' branch
authorFelipe Contreras <felipe.contreras@gmail.com>
Sat, 31 Aug 2013 00:11:23 +0000 (19:11 -0500)
committerFelipe Contreras <felipe.contreras@gmail.com>
Thu, 19 May 2016 23:13:02 +0000 (18:13 -0500)
commitc7133f5a79bf58ee9d22eff621b97a42d1bccb95
treea9d888c52868f6a2e78d7be6d1d1eeef356cf441
parente4f149f3d8baccc618b80b36efeca16744812838
Add concept of 'publish' branch

The publish branch is the branch the user wants to push to, akin to the
upstream branch, which is the branch the user wants to use as a
baseline. It overrides other configurations, such as push.default, and
remote.<name>.push.

The upstream branch is:

  branch.$name.remote
  branch.$name.merge

The publish branch is:

  branch.$name.pushremote
  branch.$name.push

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Documentation/config.txt
builtin/push.c
remote.c
remote.h
t/t5516-fetch-push.sh