Skip to content

Instantly share code, notes, and snippets.

@573
Last active March 8, 2024 20:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 573/f45922cb500b8be7b940196c811da18a to your computer and use it in GitHub Desktop.
Save 573/f45922cb500b8be7b940196c811da18a to your computer and use it in GitHub Desktop.
git tip: remote upstream branch

See https://stackoverflow.com/a/37770744, I simply created a new branch (i. e. pushhere) using the guide using these two commands:

git checkout -b pushhere
git push --set-upstream origin pushhere -f
git fetch origin pushhere
git checkout pushhere
git branch --set-upstream-to origin/pushhere
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment