Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bfg repo cleaner #8

Open
Poltergeist opened this issue Nov 18, 2020 · 1 comment
Open

bfg repo cleaner #8

Poltergeist opened this issue Nov 18, 2020 · 1 comment

Comments

@Poltergeist
Copy link
Owner

Add https://rtyley.github.io/bfg-repo-cleaner/ til for removing sensitive information from a repository.

@Poltergeist
Copy link
Owner Author

############### Secrets in commit löschen ##################

Wrapper bfg: https://rtyley.github.io/bfg-repo-cleaner/

local ausführen:

  1. wechseln zum lokalen feature branch X

  2. git checkout HEAD (damit werden protected commits für HEAD umgangen)

  3. auf .git root Verzeichnis wechseln

  4. bfg --delete-files impex.tfvars --no-blob-protection *** impex.tfvars ist das file mit den plaintext passwörtern ***

  5. git checkout lokalen branch X (wechseln zum lokalen feature branch X)

  6. git com

  7. git reflog expire --expire=now --all && git gc --prune=now --aggressive

  8. git push --force

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant