By using git add -A and git commit -a, I can obviously add/commit all changes to the repo I’m currently situated in. However, is there a way to include all submodules in an add/commit and apply the same commit message to each?
By using git add -A and git commit -a , I can obviously add/commit
Share
You can use an alias. Make script: e.g.
~/supercommit.shAnd mark it executable (
chmod +x). Now, create an alias:That should do (I’ll test it in a bit)