git: Add PushTo to select which remote to push (#31482)

mostly, I using `git checkout -b branch_name upstream/main` to create
new branch which reference remote upstream not my fork.
When using `Push` will always failed with not permission. So we need
ability to select which remote to push.

Current branch is based on my previous pr #26897 

Release Notes:

- Add `PushTo` to select which remote to push.

---------

Co-authored-by: Cole Miller <cole@zed.dev>
This commit is contained in:
CharlesChen0823 2025-06-07 05:07:40 +08:00 committed by GitHub
parent 9775747ba9
commit cf5e76b1b9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 30 additions and 8 deletions

View file

@ -46,6 +46,7 @@ actions!(
TrashUntrackedFiles,
Uncommit,
Push,
PushTo,
ForcePush,
Pull,
Fetch,