提交 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>::
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 [--recursive] [--] [<path>...]::
Synchronizes submodules' remote URL configuration setting
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册