3 ms·git rebase -i <one commit before your mistake> git push origin mainline -fby danny_codes 6mo agogit rebase -i <one commit before your mistake> git push origin mainline -fdanielbln 6mo agogit log --all --reflog -- path/to/secret-filedh2022 6mo agoGit filter rule