How to undo git init on a home directory?

You can just do rm -rf $HOME/.git to remove all the version control information stored by git, which undoes whatever git init did.

But I highly doubt that running git init could slow anything down.

Leave a Comment