DEV Community

Discussion on: How to remove a sensitive file from your commit history on GitHub

Collapse
 
talorlanczyk profile image
TalOrlanczyk

This is a great solution much better then rebase
The only little drawback is the time it takes
As much commit it have the longer the time it takes

Collapse
 
sophie profile image
Sophia Enakpoya

Thanks for the nice comment. And yes, I suspect it could take a little time if the commit is way behind and you don’t discover sooner. Although, if you have GitGuardian connected, you get notified immediately the file gets pushed to GitHub and then, you can quickly remove it.