mirror of
https://github.com/git/git.git
synced 2024-11-24 18:33:43 +08:00
doc: submodule.* config are keyed by submodule names
Ever since 941987a5
(git-submodule: give submodules proper names,
2007-06-11) introduced the ability to move a submodule from one path
to another inside its superproject tree without losing its identity,
we should have consistently used submodule.<name>.* to access
settings related to the named submodule.
Reported-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: W. Trevor King <wking@tremily.us>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
b928922727
commit
15d64936d4
@ -208,7 +208,7 @@ OPTIONS
|
||||
-b::
|
||||
--branch::
|
||||
Branch of repository to add as submodule.
|
||||
The name of the branch is recorded as `submodule.<path>.branch` in
|
||||
The name of the branch is recorded as `submodule.<name>.branch` in
|
||||
`.gitmodules` for `update --remote`.
|
||||
|
||||
-f::
|
||||
|
Loading…
Reference in New Issue
Block a user