Skip to content

Instantly share code, notes, and snippets.

@guillermoroblesjr
Last active August 29, 2015 14:20
Show Gist options
  • Save guillermoroblesjr/8d55d06cb4af7e5c6fcb to your computer and use it in GitHub Desktop.
Save guillermoroblesjr/8d55d06cb4af7e5c6fcb to your computer and use it in GitHub Desktop.
Git set upstream origin remote branch
# git push -u origin my_branch
git push -u [email protected]:name-of-repo.git my-branch
# same as:
git push --set-upstream [email protected]:name-of-repo.git my-branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment