X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-submodule.txt;h=1ed331c599d4b492b0dec112332bb83db5506d74;hb=1c6a50bb41dc49883d447df17a6c575684ec04ff;hp=cdabfd29add5752caab24a1715427c0e4eba9a11;hpb=d4f8f74bc6cf8c5851f67d46c49b6e2c8fea601b;p=git.git diff --git a/Documentation/git-submodule.txt b/Documentation/git-submodule.txt index cdabfd29a..3a5aa0143 100644 --- a/Documentation/git-submodule.txt +++ b/Documentation/git-submodule.txt @@ -9,7 +9,7 @@ git-submodule - Initialize, update or inspect submodules SYNOPSIS -------- [verse] -'git submodule' [--quiet] add [-b branch] +'git submodule' [--quiet] add [-b branch] [-f|--force] [--reference ] [--] [] 'git submodule' [--quiet] status [--cached] [--recursive] [--] [...] 'git submodule' [--quiet] init [--] [...] @@ -183,6 +183,11 @@ OPTIONS --branch:: Branch of repository to add as submodule. +-f:: +--force:: + This option is only valid for the add command. + Allow adding an otherwise ignored submodule path. + --cached:: This option is only valid for status and summary commands. These commands typically use the commit found in the submodule HEAD, but @@ -252,11 +257,6 @@ This file should be formatted in the same way as `$GIT_DIR/config`. The key to each submodule url is "submodule.$name.url". See linkgit:gitmodules[5] for details. - -AUTHOR ------- -Written by Lars Hjemli - GIT --- Part of the linkgit:git[1] suite