mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
check_submodules.sh only sync selected submodule
This commit is contained in:
@@ -45,7 +45,7 @@ then
|
|||||||
else
|
else
|
||||||
echo "REINITIALIZING GIT SUBMODULES"
|
echo "REINITIALIZING GIT SUBMODULES"
|
||||||
echo "no git repo found in $1/.git"
|
echo "no git repo found in $1/.git"
|
||||||
git submodule sync --recursive;
|
git submodule sync --recursive -- $1;
|
||||||
git submodule update --init --recursive $1;
|
git submodule update --init --recursive $1;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user