Code

git apply: option to ignore whitespace differences
[git.git] / Documentation / git-submodule.txt
index 470bd75ad9ca7760bef33c1c4a326c79da92eb2b..683ba1a1ebe080e6e093d27686068823448e459c 100644 (file)
@@ -141,8 +141,9 @@ foreach::
        the processing to terminate. This can be overridden by adding '|| :'
        to the end of the command.
 +
-As an example, "git submodule foreach 'echo $path `git rev-parse HEAD`' will
-show the path and currently checked out commit for each submodule.
+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.
 
 sync::
        Synchronizes submodules' remote URL configuration setting