Updated git pulls for submodules
This commit is contained in:
@ -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
|
||||
}
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Reference in New Issue
Block a user