Last active
October 1, 2024 01:45
-
-
Save mutalis/8e90f5b4a5d802afa1469c02e9ce2570 to your computer and use it in GitHub Desktop.
Remove secrets from a Repo.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git filter-repo --replace-text /tmp/replacements.txt --force | |
git filter-repo --invert-paths --path config/env.rb | |
git ls-files config/env.rb | |
ggshield secret scan repo repo-name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment