Skip to content

Instantly share code, notes, and snippets.

@mchambers
Forked from masterkrang/gist:3661461
Created February 7, 2013 02:46
Show Gist options
  • Save mchambers/4727994 to your computer and use it in GitHub Desktop.
Save mchambers/4727994 to your computer and use it in GitHub Desktop.
1. master> git pull origin master
2. master> git branch temp_branch
3. master> git checkout temp_branch
4. temp_branch> ...Do your stuff and commit...
5. temp_branch> git checkout master
6. master> git pull origin master
7. master> git checkout temp_branch
8. temp_branch> git rebase master
9. temp_branch> git checkout master
10. master> git merge temp_branch
11. master> git push origin master
12. Go to step 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment