Repository navigation
pr-git-2423/HaraldNordgren/remote-pushdefault-list-v1
tagged this
02 Oct 07:17
Let remote.pushDefault hold a space separated list of remote names and push to the first one configured in the repository, so a single global setting like fork origin works everywhere. Harald Nordgren (2): remote: factor out lookup of a remote by name remote: allow a list of remotes in remote.pushDefault Documentation/config/remote.adoc | 7 +++++ remote.c | 54 ++++++++++++++++++++++++-------- t/t5516-fetch-push.sh | 36 +++++++++++++++++++++ 3 files changed, 84 insertions(+), 13 deletions(-) base-commit: 0f8e75abebff0877cae681a3d5ff31ac47f54220 Submitted-As: https://lore.kernel.org/git/pull.2423.git.git.1790925472.gitgitgadget@gmail.com