Skip to content

Commit 0ad0a61

Browse files
jrngitster
authored andcommitted
Documentation: add submodule.* to the big configuration variable list
The url, path, and the update items in [submodule "foo"] stanzas are nicely explained in the .gitmodules and ‘git submodule’ documentation. Point there from the config documentation. Signed-off-by: Jonathan Nieder <[email protected]> Acked-by: Johan Herland <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 47dc5d5 commit 0ad0a61

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Documentation/config.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1685,6 +1685,15 @@ status.submodulesummary::
16851685
summary of commits for modified submodules will be shown (see
16861686
--summary-limit option of linkgit:git-submodule[1]).
16871687

1688+
submodule.<name>.path::
1689+
submodule.<name>.url::
1690+
submodule.<name>.update::
1691+
The path within this project, URL, and the updating strategy
1692+
for a submodule. These variables are initially populated
1693+
by 'git submodule init'; edit them to override the
1694+
URL and other values found in the `.gitmodules` file. See
1695+
linkgit:git-submodule[1] and linkgit:gitmodules[5] for details.
1696+
16881697
tar.umask::
16891698
This variable can be used to restrict the permission bits of
16901699
tar archive entries. The default is 0002, which turns off the

0 commit comments

Comments
 (0)