Predictive Hacks

How to undo a git init

If you work with git and you have initiated a project using the git init command and you want to “undo”, then you can simply delete the .git file from your folder.

rm -rf .git

Share This Post

Share on facebook
Share on linkedin
Share on twitter
Share on email

Subscribe To Our Newsletter

Get updates and learn from the best

More To Explore