git submodule deinit [path...]

Unregister the given submodules

Arguments

NameDescription
pathfilepaths

Options

NameDescription
-f, --forceThe submodule’s working tree will be removed even if it contains local modifications
--allUnregister all submodules in the working tree
--End of subcommand options