]> git.ipfire.org Git - thirdparty/git.git/commit - Documentation/git-submodule.txt
git-submodule: add "sync" command
authorDavid Aguilar <davvid@gmail.com>
Sun, 24 Aug 2008 19:43:37 +0000 (12:43 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 26 Aug 2008 05:48:01 +0000 (22:48 -0700)
commit2327f61ecc4e9fbb6dd9fffdec0b043aeaca908f
tree529417e97ebcd5553e810e02f15321d91f516667
parent27a6ed492b3962d8214a196e57e8969ff9772249
git-submodule: add "sync" command

When a submodule's URL changes upstream, existing submodules
will be out of sync since their remote."$origin".url will still
be set to the old value.

This adds a "git submodule sync" command that reads submodules'
URLs from .gitmodules and updates them accordingly.

Signed-off-by: David Aguilar <davvid@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-submodule.txt
git-submodule.sh