diff --git a/update_all_submodules b/update_all_submodules index 63b0850..50a0057 100755 --- a/update_all_submodules +++ b/update_all_submodules @@ -34,6 +34,7 @@ do done echo "Committing changes to $PWD" # git commit -a -m "Reset submodule to latest HEAD" + git add $PARENTDIR/$DIR2UPDATE git commit $PARENTDIR/$DIR2UPDATE -m "Reset submodule to latest HEAD" git push origin master fi