diff --git a/bin/git/submodule-update-master-commit b/bin/git/submodule-update-master-commit deleted file mode 100755 index 4c48bdf..0000000 --- a/bin/git/submodule-update-master-commit +++ /dev/null @@ -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" -} -