Created
September 9, 2021 00:04
-
-
Save sarah-j-smith/cfef964530c7b5bcd94c0a9816fc248f to your computer and use it in GitHub Desktop.
Creating a mirror of the repo to use with BFG
This file contains 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
cd ~/src | |
git clone --mirror git@github.com:my-git-name/RepoWithExposedSecrets.git | |
java -jar ~/bin/bfg-1.14.0.jar --delete-files Credentials.json RepoWithExposedSecrets.git |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment