How to delete entire git commit history?
I have deleted my git commit history plenty of times just to make my repository look "clean" (roast me in the comments for it). It's probably best to not do this but I will still share how to do it.
Delete entire commit history
git checkout --orphan ...
axorax.hashnode.dev1 min read