DEV Community

Discussion on: How to delete all commits history in GitHub?

Collapse
 
zsh profile image
❮ ZI ❯

Or just one-liner: rm -r .git; git init; git add . && git commit -m "IC"; git push :)