Last active
December 28, 2015 17:48
-
-
Save kennylugo/f45693b7063b98c771ff to your computer and use it in GitHub Desktop.
How to keep the MASTER & GH-PAGES branch in sync
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) git checkout master | |
2) git status | |
3) git commit -am "test" | |
4) git push origin master | |
5) git checkout gh-pages | |
6) git rebase master | |
7) git push origin gh-pages | |
8) git checkout master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment