1. Home
  2. ›
  3. Git
  4. ›
  5. Set upstream

Creates a remote equivalent of the local branch. This only needs to be done once before or with the initial push of the local branch.

#git#branch
git origin --set-upstream your-branch-name
copy
Full Git cheatsheet