diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-11-13 14:32:04 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-11-13 14:32:04 -0800 |
commit | a129545d44f1f0fe9976ed87b9a7331bf239b7d8 (patch) | |
tree | 52268e539a6b33e18401455ea13cf579c615dc80 /git-submodule.txt | |
parent | 3b4382b85a92a6419a8f05510a9b583e711b5071 (diff) | |
download | git-htmldocs-a129545d44f1f0fe9976ed87b9a7331bf239b7d8.tar.gz |
Autogenerated HTML docs for v1.8.0-150-gb0b00
Diffstat (limited to 'git-submodule.txt')
-rw-r--r-- | git-submodule.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/git-submodule.txt b/git-submodule.txt index b4683bba1..1d6527ab9 100644 --- a/git-submodule.txt +++ b/git-submodule.txt @@ -9,7 +9,7 @@ git-submodule - Initialize, update or inspect submodules SYNOPSIS -------- [verse] -'git submodule' [--quiet] add [-b branch] [-f|--force] +'git submodule' [--quiet] add [-b branch] [-f|--force] [--name <name>] [--reference <repository>] [--] <repository> [<path>] 'git submodule' [--quiet] status [--cached] [--recursive] [--] [<path>...] 'git submodule' [--quiet] init [--] [<path>...] @@ -265,6 +265,11 @@ OPTIONS Initialize all submodules for which "git submodule init" has not been called so far before updating. +--name:: + This option is only valid for the add command. It sets the submodule's + name to the given string instead of defaulting to its path. The name + must be valid as a directory name and may not end with a '/'. + --reference <repository>:: This option is only valid for add and update commands. These commands sometimes need to clone a remote repository. In this case, |