I have been using git filter-branch a lot to get rid of legacy files, however for a bare git repo I cannot figure out how I can rewrite my git history where one of my git submodules is removed.
I have a top-level repo "Donald" and below "Donald" I have four submodules "Huey", "Dewey", "Louie" and "Phooey" [1]. "Phooey" should never have been added - and unfortunately time passed where it was in.
Best reference I found is git filter-branch remove all submodules from my repo but it a bit too much.