Skip to content

Instantly share code, notes, and snippets.

@waseem
Created August 12, 2012 21:58
Show Gist options
  • Save waseem/3334794 to your computer and use it in GitHub Desktop.
Save waseem/3334794 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