Skip to content

Instantly share code, notes, and snippets.

@ynaoto
Created October 24, 2013 15:51
Show Gist options
  • Select an option

  • Save ynaoto/7139707 to your computer and use it in GitHub Desktop.

Select an option

Save ynaoto/7139707 to your computer and use it in GitHub Desktop.
github pages
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