使用 BFG 清理存储库时(https://rtyley.github.io/bfg-repo-cleaner/ https://rtyley.github.io/bfg-repo-cleaner/),遇到以下情况:
Protected commits
-----------------
These are your protected commits, and so their contents will NOT be altered:
* commit ******* (protected by 'HEAD')
运行 BFG:--no-blob-protection
为我修好了。
文档在这里:https://rtyley.github.io/bfg-repo-cleaner/ https://rtyley.github.io/bfg-repo-cleaner/,但我没有看到他们在哪里真正将其称为克服错误的方法。
注意:就我而言,我已经尝试过手动删除文件,而不是使用 BFG,这让我处于必须使用的状态--no-blob-protection
.
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)