Created
February 5, 2013 21:11
-
-
Save FGRibreau/4717696 to your computer and use it in GitHub Desktop.
Keep gh-pages in sync with master on git post-commit hook
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
git checkout gh-pages | |
git rebase master | |
git checkout master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment