Skip to content

Instantly share code, notes, and snippets.

@djadmin
Created January 16, 2016 15:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save djadmin/baa20aa128b152d0e9af to your computer and use it in GitHub Desktop.
Save djadmin/baa20aa128b152d0e9af to your computer and use it in GitHub Desktop.
Sync master with gh-pages branch
$ vim .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