git filter-repo: Removing Sensitive Files and Rewriting History
git filter-repo: remove sensitive files from Git history A wp-config.php with production credentials, an .env file or a private key committed by accident does not go away with a new commit that deletes it: the file stays in every older commit, and anyone who clones the repository can get it. Removing it means rewriting the…