Created
October 24, 2013 15:51
-
-
Save ynaoto/7139707 to your computer and use it in GitHub Desktop.
github pages
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 master | |
| git push origin gh-pages | |
| 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment