Created
March 4, 2015 20:20
-
-
Save francislewis/6ec72c5cf036f96ad603 to your computer and use it in GitHub Desktop.
How to keep gh-pages branch up to date with master
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
git checkout gh-pages // go to the gh-pages branch | |
git rebase master // bring gh-pages up to date with master | |
git push origin gh-pages // commit the changes | |
git checkout master // return to the master branch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment