-
-
Save marcoslopes/3a7a68e5976236e5359a5f876b823114 to your computer and use it in GitHub Desktop.
Update submodules in a git repository to the latest, but exclude one..
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
git submodule foreach '[ "$path" == "submodule-to-exclude" ] || git pull origin master' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment