Last active
August 29, 2015 14:07
-
-
Save AmrEldib/ca2298eecf31a5cfb4e4 to your computer and use it in GitHub Desktop.
Easily keep gh-pages in sync 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
# go to the gh-pages branch | |
git checkout gh-pages | |
# bring gh-pages up to date with master | |
git rebase master | |
# commit the changes | |
git push origin gh-pages | |
# return to the master branch | |
git checkout master | |
# Source: http://lea.verou.me/2011/10/easily-keep-gh-pages-in-sync-with-master/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment