Skip to content

remote: allow a list of remotes in remote.pushDefault

Harald Nordgren via GitGitGadget git 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2remote: factor out lookup of a remote by nameremote.c+15 -100 replies
2/2remote: allow a list of remotes in remote.pushDefaultDocumentation/config/remote.adoc remote.c t/t5516-fetch-push.sh+69 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] remote: allow a list of remotes in remote.pushDefault

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
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-2423%2FHaraldNordgren%2Fremote-pushdefault-list-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-2423/HaraldNordgren/remote-pushdefault-list-v1
Pull-Request: https://github.com/git/git/pull/2423

Signature · 1 line
gitgitgadget