How to cancel git init in the home directory?

I did git init and git add . in your home directory, which I think slowed down every operation because the directory is so large. How can I cancel the git init home directory?

+7
source share
1 answer

You can simply do rm -rf $HOME/.git to remove all version control information stored in git, which overrides all git init .

But I really doubt that starting git init can slow things down.

+17
source

All Articles