提交 3e23116d 编写于 作者: J Junio C Hamano

Merge branch 'jk/doc-submodule-markup-fix'

Doc markup fix.

* jk/doc-submodule-markup-fix:
  docs/git-submodule: fix unbalanced quote
...@@ -221,9 +221,12 @@ foreach [--recursive] <command>:: ...@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册