how can I remove the unwanted objects from my repo after filter-branch --subdirectory-filter

后端 未结 1 647
别跟我提以往
别跟我提以往 2020-12-06 12:24

I\'m using

git filter-branch --subdirectory-filter dir/name -- --all

to build a repo that only has history relating to that dir/name. Befo

相关标签:
1条回答
  • 2020-12-06 13:12

    filter-branch also keeps backup refs in .git/refs/original, which you'll also have to remove before gc'ing

    0 讨论(0)
提交回复
热议问题