git-submodule(1): update description and key names
When git-submodule was updated to allow mapping between submodule name and submodule path, the documentation was left untouched. Signed-off-by: Lars Hjemli <hjemli@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
b4372ef136
commit
813a0bd8a4
@ -33,8 +33,8 @@ status::
|
|||||||
|
|
||||||
init::
|
init::
|
||||||
Initialize the submodules, i.e. register in .git/config each submodule
|
Initialize the submodules, i.e. register in .git/config each submodule
|
||||||
path and url found in .gitmodules. The key used in git/config is
|
name and url found in .gitmodules. The key used in .git/config is
|
||||||
`submodule.$path.url`. This command does not alter existing information
|
`submodule.$name.url`. This command does not alter existing information
|
||||||
in .git/config.
|
in .git/config.
|
||||||
|
|
||||||
update::
|
update::
|
||||||
@ -65,7 +65,7 @@ FILES
|
|||||||
When initializing submodules, a .gitmodules file in the top-level directory
|
When initializing submodules, a .gitmodules file in the top-level directory
|
||||||
of the containing repository is used to find the url of each submodule.
|
of the containing repository is used to find the url of each submodule.
|
||||||
This file should be formatted in the same way as $GIR_DIR/config. The key
|
This file should be formatted in the same way as $GIR_DIR/config. The key
|
||||||
to each submodule url is "module.$path.url".
|
to each submodule url is "submodule.$name.url".
|
||||||
|
|
||||||
|
|
||||||
AUTHOR
|
AUTHOR
|
||||||
|
Reference in New Issue
Block a user