Remove orphaned submodule - clean -f -f
What steps will reproduce the problem?
- Checkout a branch that has a submodule named "ModuleA"
- Switch to a branch that does not have a submodule "ModuleA"
What is the expected output? What do you see instead?
The process leaves orphaned submodules that can't be removed by "Clean Up", as git requires two -f switches to remove subdirectories that are a git repo of their own. I can't figure out how to remove these orphans from my tree with TortoiseGit.
Git will refuse to delete directories with .git sub directory or file unless a second -f is given.
What version of TortoiseGit and Git are you using? On what operating system?
TortoiseGit 126.96.36.199 git 1.9.5.msysgit.0 Windows 7 x64 build 7601
Please provide any additional information below.