committed a password to git, already pushed, what now
Yeah I know, I'm an idiot. Committed a .env with a DB password about 6 commits ago and pushed to our remote (GitHub private repo). It's a real password not a placeholder. I've rotated the password already but the history still has it. Tried git filter-branch and it made a mess. On git 2.44. Anyone done this recently without nuking the whole repo?
3 replies