Skip to content

Instantly share code, notes, and snippets.

@gayanvirajith
Created July 17, 2014 05:16
Show Gist options
  • Save gayanvirajith/d8cc4573c31d56d9b5ec to your computer and use it in GitHub Desktop.
Save gayanvirajith/d8cc4573c31d56d9b5ec to your computer and use it in GitHub Desktop.
Automate push on gh-pages and master branches. Add following lines to the [remote "origin"] section of your .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