the processing to terminate. This can be overridden by adding '|| :'
to the end of the command.
+
- As an example, +git submodule foreach \'echo $path {backtick}git
- rev-parse HEAD{backtick}'+ will show the path and currently checked out
- commit for each submodule.
+ As an example, the command below will show the path and currently
+ checked out commit for each submodule:
+ +
+ --------------
+ git submodule foreach 'echo $path `git rev-parse HEAD`'
+ --------------
-sync::
+sync [--recursive] [--] [<path>...]::
Synchronizes submodules' remote URL configuration setting
to the value specified in .gitmodules. It will only affect those
submodules which already have a URL entry in .git/config (that is the