Skip to content
jbouzi12 edited this page Nov 27, 2014 · 4 revisions
  1. git checkout -b my_feature

  2. Write code, commit features to your branch. When done...

  3. git checkout master

  4. git pull

  5. git checkout my_feature

  6. git rebase master

  7. git push origin my_feature

  8. git checkout master

  9. git pull

  10. If no changes, create pull request.

  11. If Corey tells you that your changes can't be merged automatically b/c the code has changed since the time you created the request: a. git checkout master b. git pull c. git rebase master d. Fix merge conflicts e. git push origin your_branch -f (This is a force push.) You do not have to do anything to your original pull request.

  12. 5 Useful Tips for a Better Commit Message

Clone this wiki locally