Browse Source

update: update submodules too

Signed-off-by: Alejandro Mery <amery@geeks.cl>
master
Alejandro Mery 4 years ago
parent
commit
eef5c2c55e
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      update.sh

+ 3
- 0
update.sh

@ -1,5 +1,7 @@
#!/bin/sh
set -ux
cd "$(dirname "$0")"
branch="$(git branch | sed -n 's/^* \(.*\)$/\1/p;')"
@ -25,6 +27,7 @@ else
fi
git rebase "$remote/$rbranch"
git submodule update --init
if $stashed; then
git stash pop -q

Loading…
Cancel
Save