Skip to content

Commit 0c0cc8a

Browse files
committed
review
1 parent d702d9a commit 0c0cc8a

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

git/objects/submodule/base.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1272,13 +1272,13 @@ def remove(
12721272
def deinit(self, force: bool = False) -> "Submodule":
12731273
"""Run ``git submodule deinit`` on this submodule.
12741274
1275-
This is a thin wrapper around ``git submodule deinit <path>``, paralleling
1276-
:meth:`add`, :meth:`update`, and :meth:`remove`. It unregisters the
1277-
submodule (removes its entry from ``.git/config`` and empties the
1278-
working-tree directory) without deleting the submodule from
1279-
``.gitmodules`` or its checked-out repository under ``.git/modules/``.
1280-
A subsequent :meth:`update` will re-initialize the submodule from the
1281-
retained contents.
1275+
This is a thin wrapper around ``git submodule deinit <path>``,
1276+
which unregisters the submodule (removes its entry from
1277+
``.git/config`` and empties the working-tree directory)
1278+
without deleting the submodule from ``.gitmodules``
1279+
or its checked-out repository under ``.git/modules/``.
1280+
A subsequent :meth:`update` will re-initialize the
1281+
submodule from the retained contents.
12821282
12831283
:param force:
12841284
If ``True``, pass ``--force`` to ``git submodule deinit``. This

0 commit comments

Comments
 (0)