Updated git pulls for submodules
This commit is contained in:
@ -8,7 +8,11 @@ function do_git {
|
|||||||
echo $1 "(Git)"
|
echo $1 "(Git)"
|
||||||
cd $1
|
cd $1
|
||||||
git ls-remote --get-url
|
git ls-remote --get-url
|
||||||
git pull
|
if [ -f .gitmodules ]; then
|
||||||
|
git pull --recurse-submodules
|
||||||
|
else
|
||||||
|
git pull
|
||||||
|
fi
|
||||||
cd ..
|
cd ..
|
||||||
echo
|
echo
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,9 +8,10 @@ function do_git {
|
|||||||
echo $1 "(Git)"
|
echo $1 "(Git)"
|
||||||
cd $1
|
cd $1
|
||||||
git ls-remote --get-url
|
git ls-remote --get-url
|
||||||
git pull
|
|
||||||
if [ -f .gitmodules ]; then
|
if [ -f .gitmodules ]; then
|
||||||
git pull --recurse-submodules
|
git pull --recurse-submodules
|
||||||
|
else
|
||||||
|
git pull
|
||||||
fi
|
fi
|
||||||
cd ..
|
cd ..
|
||||||
echo
|
echo
|
||||||
|
|||||||
@ -4,9 +4,10 @@ function do_git {
|
|||||||
echo $1 "(Git)"
|
echo $1 "(Git)"
|
||||||
cd $1
|
cd $1
|
||||||
git ls-remote --get-url
|
git ls-remote --get-url
|
||||||
git pull
|
|
||||||
if [ -f .gitmodules ]; then
|
if [ -f .gitmodules ]; then
|
||||||
git pull --recurse-submodules
|
git pull --recurse-submodules
|
||||||
|
else
|
||||||
|
git pull
|
||||||
fi
|
fi
|
||||||
cd ..
|
cd ..
|
||||||
echo
|
echo
|
||||||
|
|||||||
@ -4,9 +4,10 @@ function do_git {
|
|||||||
echo $1 "(Git)"
|
echo $1 "(Git)"
|
||||||
cd $1
|
cd $1
|
||||||
git ls-remote --get-url
|
git ls-remote --get-url
|
||||||
git pull
|
|
||||||
if [ -f .gitmodules ]; then
|
if [ -f .gitmodules ]; then
|
||||||
git pull --recurse-submodules
|
git pull --recurse-submodules
|
||||||
|
else
|
||||||
|
git pull
|
||||||
fi
|
fi
|
||||||
cd ..
|
cd ..
|
||||||
echo
|
echo
|
||||||
|
|||||||
Reference in New Issue
Block a user