author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | |
Fri, 16 May 2008 10:23:03 +0000 (11:23 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 16 May 2008 20:03:55 +0000 (13:03 -0700) | ||
commit | be4d2c83b68a96285cc05036add4d64d324e52d9 | |
tree | b2400cbbd1d143ea912c0a311016a7d2f5c0794c | tree | snapshot |
parent | b30317819dcbcb99a9ef520631e6ab002b6755a0 | commit | diff |
submodule update: add convenience option --init
When a submodule is not initialized and you do not want to change the
defaults from .gitmodules anyway, you can now say
$ git submodule update --init <name>
When "update" is called without --init on an uninitialized submodule,
a hint to use --init is printed.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
When a submodule is not initialized and you do not want to change the
defaults from .gitmodules anyway, you can now say
$ git submodule update --init <name>
When "update" is called without --init on an uninitialized submodule,
a hint to use --init is printed.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-submodule.txt | diff | blob | history | |
git-submodule.sh | diff | blob | history | |
t/t7400-submodule-basic.sh | diff | blob | history |