]> git.ipfire.org Git - thirdparty/git.git/commit - git-submodule.sh
git-submodule: provide easy way of adding new submodules
authorSven Verdoolaege <skimo@kotnet.org>
Sun, 24 Jun 2007 21:06:07 +0000 (23:06 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 2 Jul 2007 08:33:44 +0000 (01:33 -0700)
commitecda072380e54084d5160d7b6a9cdb23369da804
treef3e53973fa7da202eff7a2019149900e8701ba3c
parent444649e5a833c6ed24e0e92364923324d9ffb386
git-submodule: provide easy way of adding new submodules

To make a submodule effectively usable, the path and
a URL where the submodule can be cloned need to be stored
in .gitmodules.  This subcommand takes care of setting
this information after cloning the new submodule.
Only the index is updated, so, if needed, the user may still
change the URL or switch to a different branch of the submodule
before committing.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-submodule.txt
git-submodule.sh