Skip to content

when deleting submodules. the .git/modules/(module) directory remains #1012

@mikestolls

Description

@mikestolls

Steps to repro:

clone a project
add a submodule through UI
commit changes (you cannot delete the submodule until its committed)
delete submodule through UI.
.gitmodules and submodule directory are deleted. but the .git/modules/submodule directory remain.

This causes an issue if you try to change the url a specific submodule is pointing at, as after a delete and re add, it will still reference the original url.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions