3 ms·
Then you need to read through any file in any revision. Because if you have a newer commit with the secrets removed they are still in the history.
by PinguTS 2y ago
Then you need to read through any file in any revision. Because if you have a newer commit with the secrets removed they are still in the history.
- diggan 2y agoOr `rm -rf .git && git init && git commit -m "init"` and then read through. Common to scrap previous history when you go from private -> public repository anyways, a lot in order to scrub potential things like this to leak through.
- hahajk 2y agoIf I'm at all worried about having accidentally committed secrets in the past, I usually create a new repo for the public release with a fresh git init.