mirror of
https://github.com/git/git
synced 2024-08-27 11:39:22 +00:00
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
|
||||
superproject's URL needs to be provided: git-submodule will correctly
|
||||
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::
|
||||
Show the status of the submodules. This will print the SHA-1 of the
|
||||
|
|
Loading…
Reference in a new issue