link to gitmodules page at the beginning of git-submodule documentation

This way the user does not have to scroll down to the bottom to find
it.

Signed-off-by: Heiko Voigt <hvoigt@hvoigt.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Heiko Voigt 2012-05-14 19:32:08 +02:00 committed by Junio C Hamano
parent 79135e4c22
commit cb2df36980

View File

@ -43,9 +43,9 @@ if you choose to go that route.
Submodules are composed from a so-called `gitlink` tree entry Submodules are composed from a so-called `gitlink` tree entry
in the main repository that refers to a particular commit object in the main repository that refers to a particular commit object
within the inner repository that is completely separate. within the inner repository that is completely separate.
A record in the `.gitmodules` file at the root of the source A record in the `.gitmodules` (see linkgit:gitmodules[5]) file at the
tree assigns a logical name to the submodule and describes root of the source tree assigns a logical name to the submodule and
the default URL the submodule shall be cloned from. describes the default URL the submodule shall be cloned from.
The logical name can be used for overriding this URL within your The logical name can be used for overriding this URL within your
local repository configuration (see 'submodule init'). local repository configuration (see 'submodule init').