I have been following the Answers to this question Detach subdirectory into separate Git repository and had some good successes with simple Subdirectories that are only on one branch but now I am confronted with a Subdirectory that is littered over multiple branches so a simple
git filter-branch --subdirectory-filter SUBDIRECTORY HEAD
does not do the job.
Do I have to switch into each and every branch and run the filter-branch command or is there something that can do a blanked change through the complete history ?