summaryrefslogtreecommitdiffstats
path: root/git-submodule.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-09-04 16:16:51 -0700
committerJunio C Hamano <gitster@pobox.com>2012-09-04 16:16:51 -0700
commitf335393cb267ed983d1b9d6574b95d6f26bd5a85 (patch)
tree1c8feab891c51ceff96424dbd71474ce8efd65ec /git-submodule.txt
parent53850261bf66576e51d8d6b0cee14b692de737e4 (diff)
downloadgit-htmldocs-f335393cb267ed983d1b9d6574b95d6f26bd5a85.tar.gz
Autogenerated HTML docs for v1.7.12-176-g3fc0e
Diffstat (limited to 'git-submodule.txt')
-rw-r--r--git-submodule.txt9
1 files changed, 8 insertions, 1 deletions
diff --git a/git-submodule.txt b/git-submodule.txt
index fbbbcb282..2de7bf090 100644
--- a/git-submodule.txt
+++ b/git-submodule.txt
@@ -149,6 +149,11 @@ submodule with the `--init` option.
+
If `--recursive` is specified, this command will recurse into the
registered submodules, and update any nested submodules within.
++
+If `--force` is specified, the submodule will be checked out (using
+`git checkout --force` if appropriate), even if the commit specified in the
+index of the containing repository already matches the commit checked out in
+the submodule.
summary::
Show commit summary between the given commit (defaults to HEAD) and
@@ -210,7 +215,9 @@ OPTIONS
This option is only valid for add and update commands.
When running add, allow adding an otherwise ignored submodule path.
When running update, throw away local changes in submodules when
- switching to a different commit.
+ switching to a different commit; and always run a checkout operation
+ in the submodule, even if the commit listed in the index of the
+ containing repository matches the commit checked out in the submodule.
--cached::
This option is only valid for status and summary commands. These