diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-02-12 12:41:37 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-02-12 12:41:37 -0800 |
commit | b2099ebb123af2b299c8125b7a839df44faec68a (patch) | |
tree | b7da40fc6c73b278d5c57b4f700811b9f61dae6c | |
parent | Merge branch 'jc/skip-prefix' (diff) | |
parent | submodule foreach: replace $path with $sm_path in example (diff) | |
download | tgif-b2099ebb123af2b299c8125b7a839df44faec68a.tar.xz |
Merge branch 'km/submodule-doc-use-sm-path'
Docfix.
* km/submodule-doc-use-sm-path:
submodule foreach: replace $path with $sm_path in example
-rw-r--r-- | Documentation/git-submodule.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/git-submodule.txt b/Documentation/git-submodule.txt index 5232407f68..218942acd1 100644 --- a/Documentation/git-submodule.txt +++ b/Documentation/git-submodule.txt @@ -229,7 +229,7 @@ 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`' +git submodule foreach 'echo $sm_path `git rev-parse HEAD`' -------------- sync [--recursive] [--] [<path>...]:: |