title: git filter-branch remove all submodules from my repo
body: <p>Hello I have successfully rewrote history and got the 5 folders I wanted to extract using <code>git filter-branch -f --prune-empty --tree-filter 'rm -rf &lt;all unwanted dirs&gt;'</code> and kept all git history.</p>
  
  <p>The only remaining issue are submodules, I sill have commits doing</p>
  
  <p><code>Subproject commit &lt;hash&gt;</code></p>
  
  <p>and I want to completely remove ALL of those submodule commits from my git history, how can I accomplish this?</p>