Skip to content

Instantly share code, notes, and snippets.

@epicfaace
Created April 4, 2013 23:08
Show Gist options
  • Save epicfaace/5315167 to your computer and use it in GitHub Desktop.
Save epicfaace/5315167 to your computer and use it in GitHub Desktop.
automatically push to 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
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