Let's assume repository of my project has a folder like:
test/EFG
which is renamed from:
test/ABC
Now I'm trying to split EFG folder into new repository. I'm using following command:
git filter-branch --prune-empty --subdirectory-filter test/EFG master
It works great, but there is a big downside. Using this command, It only transfer history after renaming to EFG folder. Is there anyway to keep history before renaming to EFG too (history of folder when it was named ABC)?