author | David Aguilar <davvid@gmail.com> | |
Sun, 24 Aug 2008 19:43:37 +0000 (12:43 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 26 Aug 2008 05:48:01 +0000 (22:48 -0700) | ||
commit | 2327f61ecc4e9fbb6dd9fffdec0b043aeaca908f | |
tree | 529417e97ebcd5553e810e02f15321d91f516667 | tree | snapshot |
parent | 27a6ed492b3962d8214a196e57e8969ff9772249 | commit | diff |
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>
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 | diff | blob | history | |
git-submodule.sh | diff | blob | history |