git submodule add: Remove old docs about implicit -f
git submodule add no longer implicitly adds with --force. Remove references to the old functionality in the documentation. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Acked-by: Jens Lehmann <Jens.Lehmann@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
d27b876b28
commit
1f74574ba2
@ -95,10 +95,6 @@ is the superproject and submodule repositories will be kept
|
|||||||
together in the same relative location, and only the
|
together in the same relative location, and only the
|
||||||
superproject's URL needs to be provided: git-submodule will correctly
|
superproject's URL needs to be provided: git-submodule will correctly
|
||||||
locate the submodule using the relative URL in .gitmodules.
|
locate the submodule using the relative URL in .gitmodules.
|
||||||
+
|
|
||||||
The submodule will be added with "git add --force <path>". I.e. git
|
|
||||||
doesn't care if the new path is in a `gitignore`. Your invocation of
|
|
||||||
"git submodule add" is considered enough to override it.
|
|
||||||
|
|
||||||
status::
|
status::
|
||||||
Show the status of the submodules. This will print the SHA-1 of the
|
Show the status of the submodules. This will print the SHA-1 of the
|
||||||
|
Loading…
Reference in New Issue
Block a user