Skip to content

Instantly share code, notes, and snippets.

@jjconti
Created April 9, 2015 16:57
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 jjconti/5d21bc836a7348deab08 to your computer and use it in GitHub Desktop.
Save jjconti/5d21bc836a7348deab08 to your computer and use it in GitHub Desktop.
How to create a new branch and follow it
git checkout -b new_branch
git push origin new_branch
git branch --set-upstream-to=origin/new_banch new_brach
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment