summaryrefslogtreecommitdiffstats
path: root/git-submodule.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2008-05-17 06:12:23 +0000
committerJunio C Hamano <junio@hera.kernel.org>2008-05-17 06:12:23 +0000
commit0f7b5a99cef87c294a3c3591b4990ca4077b0d0a (patch)
treec83de67f4f0d4035c00af16d042648cfd964f5d2 /git-submodule.txt
parent229a72fb72443e80e586bddb6b03b44bbb0ce140 (diff)
downloadgit-htmldocs-0f7b5a99cef87c294a3c3591b4990ca4077b0d0a.tar.gz
Autogenerated HTML docs for v1.5.5.1-315-g6d2c1c
Diffstat (limited to 'git-submodule.txt')
-rw-r--r--git-submodule.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/git-submodule.txt b/git-submodule.txt
index 6ffd896fb..0668f295e 100644
--- a/git-submodule.txt
+++ b/git-submodule.txt
@@ -11,7 +11,8 @@ SYNOPSIS
[verse]
'git-submodule' [--quiet] add [-b branch] [--] <repository> [<path>]
'git-submodule' [--quiet] status [--cached] [--] [<path>...]
-'git-submodule' [--quiet] [init|update] [--] [<path>...]
+'git-submodule' [--quiet] init [--] [<path>...]
+'git-submodule' [--quiet] update [--init] [--] [<path>...]
'git-submodule' [--quiet] summary [--summary-limit <n>] [commit] [--] [<path>...]
@@ -47,6 +48,10 @@ update::
Update the registered submodules, i.e. clone missing submodules and
checkout the commit specified in the index of the containing repository.
This will make the submodules HEAD be detached.
++
+If the submodule is not yet initialized, and you just want to use the
+setting as stored in .gitmodules, you can automatically initialize the
+submodule with the --init option.
summary::
Show commit summary between the given commit (defaults to HEAD) and