Updated git pulls for submodules

This commit is contained in:
2021-03-26 14:04:19 -04:00
parent 80565be1f0
commit 3308860750
4 changed files with 11 additions and 4 deletions

View File

@ -8,7 +8,11 @@ function do_git {
echo $1 "(Git)"
cd $1
git ls-remote --get-url
git pull
if [ -f .gitmodules ]; then
git pull --recurse-submodules
else
git pull
fi
cd ..
echo
}

View File

@ -8,9 +8,10 @@ function do_git {
echo $1 "(Git)"
cd $1
git ls-remote --get-url
git pull
if [ -f .gitmodules ]; then
git pull --recurse-submodules
else
git pull
fi
cd ..
echo

View File

@ -4,9 +4,10 @@ function do_git {
echo $1 "(Git)"
cd $1
git ls-remote --get-url
git pull
if [ -f .gitmodules ]; then
git pull --recurse-submodules
else
git pull
fi
cd ..
echo

View File

@ -4,9 +4,10 @@ function do_git {
echo $1 "(Git)"
cd $1
git ls-remote --get-url
git pull
if [ -f .gitmodules ]; then
git pull --recurse-submodules
else
git pull
fi
cd ..
echo