diff options
author | Junio C Hamano <junio@hera.kernel.org> | 2009-07-01 02:33:06 +0000 |
---|---|---|
committer | Junio C Hamano <junio@hera.kernel.org> | 2009-07-01 02:33:06 +0000 |
commit | 73d812ca2a8cff55e5ebb8a11b6f7d0496bba62c (patch) | |
tree | d44e468e3f0b00e132975f80c4aff9d30914d104 /git-submodule.txt | |
parent | 688eae05f06ef3b7369c5631140c670296654de1 (diff) | |
download | git-htmldocs-73d812ca2a8cff55e5ebb8a11b6f7d0496bba62c.tar.gz |
Autogenerated HTML docs for v1.6.3.3-363-g725cf
Diffstat (limited to 'git-submodule.txt')
-rw-r--r-- | git-submodule.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/git-submodule.txt b/git-submodule.txt index 470bd75ad..683ba1a1e 100644 --- a/git-submodule.txt +++ b/git-submodule.txt @@ -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 |