Skip to main content
edited tags
Link
Roberto Tyley
  • 25.5k
  • 12
  • 76
  • 107
Source Link
SeB.Fr
  • 1.4k
  • 2
  • 15
  • 17

BFG remove multiple folders

I found that BFG is much faster than the original git-filter-branch.

We have multiple svn repo to move to even more git repositories, this implies some repository folder merges and splits. During the process I need to remove a set of root folders and I'd like to remove those to the whole history.

I tried to use the BFG --delete-folders and it works fine for one single folder but I did not find a way to delete multiple folders. Is it even possible ? or shall I loop to call BFG as many times as I have folders to remove ?

Thanks for any help.