Skip to content

Instantly share code, notes, and snippets.

@pathikrit
Created June 28, 2013 17:50
Show Gist options
  • Save pathikrit/5886624 to your computer and use it in GitHub Desktop.
Save pathikrit/5886624 to your computer and use it in GitHub Desktop.
git: keep gh-pages in sync with master branch
git checkout gh-pages; git merge -s subtree master; git push origin master gh-pages; git checkout master;
@BigBlueHat
Copy link

Thanks for sharing, though! 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment