Skip to content

Instantly share code, notes, and snippets.

@joelremix
Created May 27, 2014 15:37
Show Gist options
  • Save joelremix/d8c3ac88a43e1ead425b to your computer and use it in GitHub Desktop.
Save joelremix/d8c3ac88a43e1ead425b to your computer and use it in GitHub Desktop.
GIT: basic commands
//push branch to origin
git push -u origin mynewfeature
//create and checkout branch named hotfix
git checkout -b hotfix
//merge
git checkout master
git merge hotfix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment