Created
November 1, 2011 11:34
-
-
Save presstube/1330362 to your computer and use it in GitHub Desktop.
Mirror your gh-pages to master so they auto-update
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
Add the following 2 lines to the [remote "origin"] section of .git/config: | |
push = +refs/heads/master:refs/heads/gh-pages | |
push = +refs/heads/master:refs/heads/master | |
thanks to: | |
http://stackoverflow.com/questions/5807459/github-mirroring-gh-pages-to-master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
tks bro!