Created
April 4, 2013 23:08
-
-
Save epicfaace/5315167 to your computer and use it in GitHub Desktop.
automatically push to gh-pages
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
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 | |
Every time you push it will automatically push it to gh-pages as well. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment