Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想使用 bfg repo 清理器从多个分支中删除多个文件。谁能建议如何做到这一点。我可以使用命令从单个分支中删除单个文件bfg --delete-files filename my-repo.git。请提供如何执行此操作的步骤。
bfg --delete-files filename my-repo.git
'--delete-files' 参数适用于命名模式。例如,如果要删除所有类型为“.pem”的证书文件,则以下行将起作用:
bfg --delete-files '*.pem' my-repo.git