Merge branch 'jk/doc-submodule-markup-fix'
Doc markup fix. * jk/doc-submodule-markup-fix: docs/git-submodule: fix unbalanced quote
This commit is contained in:
commit
3e23116d1f
@ -221,9 +221,12 @@ foreach [--recursive] <command>::
|
|||||||
the processing to terminate. This can be overridden by adding '|| :'
|
the processing to terminate. This can be overridden by adding '|| :'
|
||||||
to the end of the command.
|
to the end of the command.
|
||||||
+
|
+
|
||||||
As an example, +git submodule foreach \'echo $path {backtick}git
|
As an example, the command below will show the path and currently
|
||||||
rev-parse HEAD{backtick}'+ will show the path and currently checked out
|
checked out commit for each submodule:
|
||||||
commit for each submodule.
|
+
|
||||||
|
--------------
|
||||||
|
git submodule foreach 'echo $path `git rev-parse HEAD`'
|
||||||
|
--------------
|
||||||
|
|
||||||
sync [--recursive] [--] [<path>...]::
|
sync [--recursive] [--] [<path>...]::
|
||||||
Synchronizes submodules' remote URL configuration setting
|
Synchronizes submodules' remote URL configuration setting
|
||||||
|
Loading…
Reference in New Issue
Block a user