Created
March 31, 2022 19:56
-
-
Save DevEarley/dd21e62402cdd9415ab1631f79fd2d9f to your computer and use it in GitHub Desktop.
PSM - Commit and Push all Submodules
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
echo off | |
git submodule foreach "git add . || :" | |
git submodule foreach "git commit -m \"%*\" || :" | |
git submodule foreach "git push || :" | |
git add . | |
git commit -m "%*" | |
git push |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment