also pull submodules
authorSomeone <someone@somenet.org>
Mon, 8 Mar 2021 18:21:56 +0000 (19:21 +0100)
committerSomeone <someone@somenet.org>
Mon, 8 Mar 2021 18:21:56 +0000 (19:21 +0100)
gpullAll.sh

index 3c0e92e87cc9ca20d22b737f1970ce5aaeae03e7..2cd7cbe619b10a920fc8cff6739e28b798455412 100755 (executable)
@@ -19,4 +19,4 @@ SLEEPTIME=5
 echo "Will run -git pull- on all repos in `pwd` in ${SLEEPTIME} sec."
 sleep $SLEEPTIME
 
-find . -path '*.git' -type d -execdir echo "------------------------------------------" \; -execdir pwd \; -execdir git pull \;
+find . -path '*.git' -type d -execdir echo "------------------------------------------" \; -execdir pwd \; -execdir git pull --recurse-submodules \;