Summary
If a repo in SourceTree has multiple submodules, deleting one of them will result in the deletion of all submodules.
Environment
SourceTree for Windows, version 1.7
Steps to Reproduce
- Open the tab of a git repo in SourceTree
- Add two submodules
- Right click on one of the submodules, named e.g. X, and select Delete X
Expected Results
Submodule X is deleted from the repo.
Actual Results
Both submodules in this repository are removed.
Workaround
No workaround available.
- relates to
-
SRCTREE-3013 Deleting submodule causes tree to be inconsistent and client to stop rendering remaining submodules
-
- Needs Triage
-
- is related to
-
STSP-2858 You do not have permission to view this issue
-
SRCTREE-675 Failed to load
Still present in version 1.8.2.11.
Manually removed using:
git submodule deinit asubmodule
git rm asubmodule
rm -rf .git/modules/asubmodule