我一直在玩BFG Repo-Cleaner工具,以便通过从目录层次中的几个位置删除(临时/大)文件来清理git repo的历史...
即/root/test/a.txt /root/test2/a.txt
现在我想删除'test/a.txt'的所有引用,但保留 /test2/a.txt版本..
有没有办法用BFG彻底清除它?(如https://help.github.com/articles/remove-sensitive-data中所述)
由于回购具有相当大的历史(10K提交)BFG真的是很多比迄今为止我见过的其它方法速度快...