removing...
This commit is contained in:
parent
4594b30b49
commit
4913f31912
@ -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"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user