Last active
October 10, 2015 08:18
-
-
Save masterkrang/3661461 to your computer and use it in GitHub Desktop.
the mother of git gists
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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