From: Junio C Hamano As an example, "git submodule foreach echo $path git rev-parse HEAD will
show the path and currently checked out commit for each submodule.
+ Synchronizes submodules' remote URL configuration setting
+ to the value specified in .gitmodules. This is useful when
+ submodule URLs change upstream and you need to update your local
+ repositories accordingly.
+ "git submodule sync" synchronizes all submodules while
+"git submodule sync — A" synchronizes submodule "A" only.DESCRIPTION
OPTIONS
@@ -553,7 +567,7 @@ for details.