git filter-repo
A tool for rewriting Git history, recommended by Git in place of git filter-branch, for removing files or text from every commit.
In more detail
It can drop paths, replace text such as a password everywhere in history, and rename directories. Rewritten history needs a force push, and other clones must be replaced.
Related terms
- BFG Repo-Cleaner — A tool that rewrites Git history to remove large files or leaked secrets from every commit.
Taught in
- Recovering And Removing Data With Git — Microsoft Azure DevOps Engineer Expert (AZ-400) Exam Prep