updated git_update_repos_submodules.sh

pull/2/head
Hari Sekhon 5 years ago
parent feddf4f12d
commit c7b96d493f

@ -64,10 +64,12 @@ run(){
git pull
git submodule update --init --remote
for submodule in $(git submodule | awk '{print $2}'); do
echo
echo "committing latest hashref for submodule $submodule"
git ci -m "updated submodule $submodule" "$submodule" || :
done
git push
echo
[ -n "${NO_PUSH:-}" ] || git push
popd
echo
done

Loading…
Cancel
Save