Created
January 14, 2024 10:40
-
-
Save alexbridge/8c7a39d4713d625b279a2af98d6146dc to your computer and use it in GitHub Desktop.
GIT bump all submodules to latest develop branch
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
bump-versions: | |
git submodule foreach 'git fetch origin; git checkout origin/develop' | |
git submodule foreach 'cd .. && git add $$name' | |
git commit -m 'Bump versions' | |
git show |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment