DEV Community

Discussion on: How to delete all your local branches but keep master

thespiciestdev profile image
James Allen

I was waiting for instructions to rm -fr the project and git clone it again 😉 this is much better!

antonrich profile image

rm -rf is such a danger. I heard about how dangerous it is, but was oblivious to its power until I deleted a valuable folder!