From f9e04eb9a776f91e487bc56bd35c2d6cff4a4cc3 Mon Sep 17 00:00:00 2001
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.