非常基本的 git 问题:
我向 Github 上传了一些有危害的信息,并正在使用 bfg 来清理 repo。我遵循了文档并执行了以下操作:
$ git clone --mirror git://example.com/some-big-repo.git
$ bfg --replace-text passwords.txt my-repo.git
我收到以下输出:
Found 233 objects to protect
Found 9 commit-pointing refs : HEAD, refs/heads/experimental, refs/heads/master, ...
Protected commits
-----------------
These are your protected commits, and so their contents will NOT be altered:
* commit 497fc1c8 (protected by 'HEAD')
Cleaning
--------
Found 80 commits
Cleaning commits: 100% (80/80)
Cleaning commits completed in 301 ms.
BFG aborting: No refs to update - no dirty commits found??
我想查看是否已从我的仓库中清除了私人信息,但我不确定如何检查镜像仓库中的文件。有任何想法吗?