Skip to content

Instantly share code, notes, and snippets.

@brenopolanski
Created September 12, 2015 23:38
Show Gist options
  • Save brenopolanski/1bd538683ad438d60385 to your computer and use it in GitHub Desktop.
Save brenopolanski/1bd538683ad438d60385 to your computer and use it in GitHub Desktop.
Create a new branch with git

Create the branch on your local machine and switch in this branch:

$ git checkout -b [name_of_your_new_branch]

Push the branch on github:

$ git push origin [name_of_your_new_branch]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment