【发布时间】:2014-01-06 22:47:45
【问题描述】:
非常基本的 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??
我想查看我的存储库中的私人信息是否已清除,但我不确定如何检查镜像存储库中的文件。有什么想法吗?
【问题讨论】:
标签: git github repository git-rewrite-history bfg-repo-cleaner