I am trying to import my SVN project into Git. I have the following directory structure in SVN:
trunk
-- AAA
-- UUU
-- PPP
-- QQQ
In Git, I want this to be:
master branch
-- AAA
-- UUU
PQ-branch
-- PPP
-- QQQ
How do I achieve this while preserving all commit history for the directories?
I tried using Git subtree split to split PPP and QQQ into separate branches but how do I delete the commit history for PPP and QQQ from the master branch?
I tried using filter-branch with --tree-filter
but that didn't help.