Skip to content

Instantly share code, notes, and snippets.

@shuding
Created August 3, 2014 01:02
Show Gist options
  • Save shuding/ac0e53b29ed71379b4fb to your computer and use it in GitHub Desktop.
Save shuding/ac0e53b29ed71379b4fb to your computer and use it in GitHub Desktop.
Push to master & gh-pages in one step
Add this below `[remote "origin"]`:
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