I did git init
and git add .
on my home directory, which slowed every operation down, I think, because the directory is so large. How can I undo git init
of the home directory?
-
Is there a way to undo git init– LF-DevJourneyCommented Jun 7, 2017 at 9:36
-
Possible duplicate of Is there a command to undo git init?– LF-DevJourneyCommented Jun 7, 2017 at 9:36
Add a comment
|
1 Answer
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.
-
If he's running on Windows perhaps he's got some shell extension trying to badge everything now.– jthillCommented Mar 4, 2013 at 6:32