Created
November 17, 2015 00:20
-
-
Save jryio/b2736e7394852ad3dd80 to your computer and use it in GitHub Desktop.
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 | |
# | |
# | |
# This pre-push hook will automatically pull the _posts submodule. | |
# _posts submodule will be behind its master branch unless pulled | |
# in this repository. | |
echo "_posts submodule has been pulled" | |
exec git submodule foreach git pull origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment