Skip to content

Instantly share code, notes, and snippets.

@taylorlapeyre
Created January 17, 2013 04:59
Show Gist options
  • Save taylorlapeyre/4553784 to your computer and use it in GitHub Desktop.
Save taylorlapeyre/4553784 to your computer and use it in GitHub Desktop.
Git Walkthrough:
  1. git branch new-branch
  2. git checkout new-branch
  3. [edit code]
  4. git add --all
  5. git commit 'add awesome stuff to thing'
  6. [repeat 2-3 until whenever]
  7. git push origin master

...

[new-branch is stable and the changes won't break master]

  1. git checkout master
  2. git merge new-branch
  3. git branch -d new-branch
  4. git push origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment