Skip to content

Instantly share code, notes, and snippets.

@kalkulus
Last active October 4, 2016 16:54
Show Gist options
  • Save kalkulus/0c89be6b2e3270802137940be48851cb to your computer and use it in GitHub Desktop.
Save kalkulus/0c89be6b2e3270802137940be48851cb to your computer and use it in GitHub Desktop.
git add branch, track remote
git checkout -b newBranchName
git branch --set-upstream-to=origin/newBranchName newBranchName
OR
git push -u origin newBranchName
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment