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
{{ message }}
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.
$ORIGIN is a global variable, that is used extensively throughout the code. It is set exactly once, in hubflow_load_settings.
When working exclusively with GitHub, this is never a problem, as all branches use the same remote. But if you want to work in a peer-to-peer basis with your colleagues, this isn't safe, as each branch can legally have different remotes.
The fix is to replace $ORIGIN with $REMOTE, and have $REMOTE calculated on a per-branch basis. Some operations (which currently assume a single remote) might need fixing to work with any number of remotes (ie git hf update).
The text was updated successfully, but these errors were encountered:
$ORIGIN is a global variable, that is used extensively throughout the code. It is set exactly once, in hubflow_load_settings.
When working exclusively with GitHub, this is never a problem, as all branches use the same remote. But if you want to work in a peer-to-peer basis with your colleagues, this isn't safe, as each branch can legally have different remotes.
The fix is to replace $ORIGIN with $REMOTE, and have $REMOTE calculated on a per-branch basis. Some operations (which currently assume a single remote) might need fixing to work with any number of remotes (ie git hf update).
The text was updated successfully, but these errors were encountered: