Created
February 8, 2014 14:12
-
-
Save hell0again/8884353 to your computer and use it in GitHub Desktop.
post-mergeでmergeと同時にsubmoduleを自動update
This file contains 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
$ cat <<EOF >.git/hooks/post-merge | |
## mergeと同時にsubmoduleを自動update | |
echo "" | |
echo "git submodule update" | |
git submodule update | |
EOF | |
$ chmod a+x .git/hooks/post-merge |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment