From 258b85d98bd058db77ea1a182dd2ff213f2339d9 Mon Sep 17 00:00:00 2001 From: wangzijiao Date: Wed, 26 Sep 2018 10:49:32 +0800 Subject: [PATCH] add update submodule sh --- updateSubmodules.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 updateSubmodules.sh diff --git a/updateSubmodules.sh b/updateSubmodules.sh new file mode 100755 index 000000000..6c83264b6 --- /dev/null +++ b/updateSubmodules.sh @@ -0,0 +1,4 @@ +git submodule sync +git submodule update --init +git submodule foreach git checkout master +git submodule foreach git pull origin master