You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Perhaps something like --set-remote-to, --set-push-remote-to, --set-remote-save-to-push?
For the last, this would behave similarly to f39a9c6 (remote: add --save-to-push option to git remote set-url, 2018-12-10).
That option is useful for a situation such as mirroring. Consider if I wanted to mirror an upstream branch on my own remote. I would have something such as
Perhaps something like
--set-remote-to
,--set-push-remote-to
,--set-remote-save-to-push
?For the last, this would behave similarly to f39a9c6 (remote: add --save-to-push option to git remote set-url, 2018-12-10).
That option is useful for a situation such as mirroring. Consider if I wanted to mirror an upstream branch on my own remote. I would have something such as
in my config.
We could make this efficient to setup by doing:
git checkout master # is currently tracking origin's master git branch --set-remote-save-to-push upstream
This is already implemented here but I think this idea might be a little too stupid to contribute. Maybe I'll send it in one day...
The text was updated successfully, but these errors were encountered: