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

Taught in

References

Certification courses