[KongchangAI]
Product

git filter-repo

A command-line tool for rewriting Git history, commonly used to completely remove sensitive files or large files from a repository's history.

Timeline (last 90 days)

Nov 14

Even if history is cleaned locally with git filter-repo, remote platforms such as GitHub may still retain caches or propagate it through forks, so the platform must be contacted for complete removal.

Unverified50%
Nov 9

git rm only deletes the file in the latest commit, and content in historical commits can still be recovered via git log; complete removal requires rewriting history with git filter-repo or BFG Repo-Cleaner.

Unverified50%
Nov 8

A more thorough approach is to rewrite history with tools such as git filter-repo or BFG, but even so it should be treated as already leaked, and rotation is always the first priority for limiting the damage.

Unverified50%
Oct 15

The Git rebase documentation describes --no-rerere-autoupdate as a good way to review what git-rerere has done and catch potentially incorrect merges.

Unverified60%
Oct 9

git filter-branch and git filter-repo can batch-rewrite commit content (commit messages, authors, timestamps, etc.), recalculating the hash values of all affected commits and producing an entirely new chain parallel to the original history.

Unverified50%
Sep 11

When a leak has already occurred, git filter-repo or BFG Repo Cleaner should be used to remove sensitive data from history, and collaborators should be forced to re-clone the repository.

Unverified60%

All Facts (6)

Source Articles

Claude Code或泄露密码:14000份GitHub文件中的密钥风险Nov 14
Claude Code Config File Leaks Secrets: Over a Thousand Repos AffectedNov 9