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:
Junio C Hamano 2017-02-15 14:56:40 -08:00
Родитель 8c00b7e583 e91461b332
Коммит 3e23116d1f
1 изменённых файлов: 6 добавлений и 3 удалений

Просмотреть файл

@ -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