cli/git
Frederick Zhang 4254818dbd
Find push remote using branch.<name>.pushRemote and remote.pushDefault
When using a push.default = current triangular workflow, apart from
using @{push} to determine the remote branch name, we should also follow
the

1. branch.<name>.pushRemote
2. remote.pushDefault
3. branch.<name>.remote

...list to determine which remote Git pushes to.
2025-01-07 10:22:39 +11:00
..
fixtures Refactor code to live inside default pkg 2022-05-18 08:40:30 +02:00
client.go Find push remote using branch.<name>.pushRemote and remote.pushDefault 2025-01-07 10:22:39 +11:00
client_test.go Find push remote using branch.<name>.pushRemote and remote.pushDefault 2025-01-07 10:22:39 +11:00
command.go Allow client push to use insecure credential pattern 2024-11-26 22:29:58 +01:00
errors.go Refactor git client and add tests (#6525) 2022-11-03 11:58:38 +01:00
objects.go Find push remote using branch.<name>.pushRemote and remote.pushDefault 2025-01-07 10:22:39 +11:00
url.go Merge pull request #8929 from cli/wm/parse-url-no-nakaed-return 2024-04-05 16:33:09 +02:00
url_test.go Merge pull request #8929 from cli/wm/parse-url-no-nakaed-return 2024-04-05 16:33:09 +02:00