Created
August 18, 2015 21:04
-
-
Save camsaul/826ea902765cdd3d2cfd to your computer and use it in GitHub Desktop.
Setup Git Submodules To Auto-Pull
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
git submodule update --init | |
git config --add fetch.recurseSubmodules true | |
git config alias.pull '!f(){ git pull "$@" && git submodule update --init --recursive; }; f' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment