Created
May 2, 2013 05:12
-
-
Save mkantor/5500264 to your computer and use it in GitHub Desktop.
Make sure that the `master` and `gh-pages` branches are identical on `origin`.
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 | |
echo 'Pushing master to origin/master...' | |
git push origin master | |
echo 'Pushing origin/master to origin/gh-pages...' | |
git push origin origin/master:gh-pages |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment