- Published on
- Authors
- koskila
How to nuke your Git(Hub) commit history?
Ah - this was a fun one. I needed to figure out how to purge, flush and clear your commit history on GitHub. Turns out it isn't as easy as clicking a button in the web user interface - the world is apparently not ready yet! 😁 Luckily, it wasn't that complicated either - and the steps should work for other flavors of git as well. Background Always remember to .gitignore your secrets, folks! And if you forget, pray you're not committing to a public repository!
























