Skip to content

Instantly share code, notes, and snippets.

@masterkrang
Last active October 10, 2015 08:18
Show Gist options
  • Save masterkrang/3661461 to your computer and use it in GitHub Desktop.
Save masterkrang/3661461 to your computer and use it in GitHub Desktop.
the mother of git gists
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