There is a Git repository like this.
repo/
A1/
B1/
C1/
A2/
B2/
C2/
I would like to have one like this.
repo/
C1/
C2/
I don't need A1, B1, A2, B2 directories any more.
$ git filter-branch --tree-filter 'mv A1/B1/C1 .' HEAD
Rewrite xxxx(1/206)mv: cannot stat 'A1/B1/C1': No such file or directory
tree filter failed: mv A1/B1/C1 .
Any ideas?