How to remove a protected commit using BFG

后端 未结 4 876
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-19 01:02

When cleaning the repo with BFG (https://rtyley.github.io/bfg-repo-cleaner/) ,encountered the following :

Protected commits
-----------------

These are your pr         


        
4条回答
  •  一整个雨季
    2021-02-19 01:32

    Running BFG with: --no-blob-protection fixed it for me.

    The docs are here: https://rtyley.github.io/bfg-repo-cleaner/, but I didn't see where they really call that out as a means to move past the error.

    Note: In my case I had already tried to remove files manually, not using BFG, which got me in a state where I had to use --no-blob-protection.

提交回复
热议问题