removing...

This commit is contained in:
Wryn Wagner 2021-09-16 11:20:30 -06:00
parent 4594b30b49
commit 4913f31912

View File

@ -1,18 +0,0 @@
#!/bin/zsh
echo hiya
git submodule update --remote --rebase --init
SUBMODULES=$(\
git status\
| grep '(new commits)' \
| sed 's/^.*modified:\s*//; s/\s*(new commits).*$//' \
)
echo $SUBMODULES
[[ ${#SUBMODULES[@]} -gt 0 ]] && {
git add $SUBMODULES
git commit -m "Updated submodules to master : $SUBMODULES"
}