Created
June 28, 2013 17:50
-
-
Save pathikrit/5886624 to your computer and use it in GitHub Desktop.
git: keep gh-pages in sync with master branch
This file contains hidden or 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; git merge -s subtree master; git push origin master gh-pages; git checkout master; |
I think the old title was a misnomer - this does keep gh-pages in sync with master...
This is simpler. http://stackoverflow.com/a/28035663/507169
Thanks for sharing, though! 😄
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As a noob, how would you do this to make gh-pages in sync with master?