DEV Community 👩‍💻👨‍💻

Discussion on: A quick guide to squashing Git commits

Collapse
sehetw profile image
sehe

Keep in mind, it's not the squash (you could have edited the borked commit alone and kept the rest).

Also, once published the blobs will be in all clones' object databases for some time (until garbage collect). So, in all honesty this seems like a bad fix for a security risk. Instead, just revoke the admin token and generate a brand-new one.