小编Dan*_*Dan的帖子

错误:--mirror 不能与 refspecs 结合使用

我镜像了一个 git 存储库并application.propertiesMyProject存储库中删除了包含密码的内容。我可以看到下面的消息Deleted files和我的文件名:

$ java -jar bfg-1.13.0.jar --delete-files application.properties --no-blob-protection MyProject.git

Using repo : \\hnas1-users\USERS\dan\Desktop\bfg_test_after_delete\MyProject.git

Found 0 objects to protect
Found 4 commit-pointing refs : HEAD, refs/heads/Single_home_page, refs/heads/Second_home_page, refs/heads/master

Protected commits
-----------------
You're not protecting any commits, which means the BFG will modify the contents of even *current* commits.
This isn't recommended - ideally, if your current commits are dirty, you should fix up your working copy and commit that, check that your …
Run Code Online (Sandbox Code Playgroud)

git

5
推荐指数
1
解决办法
4943
查看次数

标签 统计

git ×1