I accidentally changed my desktop to a git warehouse. How can I cancel it?
Some netizens said to delete the .git
file, but it was useless
给我你的怀抱2017-06-05 11:10:29
Deleting the .git folder means that the desktop is no longer a warehouse.
Git will only consider paths with .git folders as working repositories.
PHP中文网2017-06-05 11:10:29
After git init, a .git folder will be generated. Just delete this folder.
Use the commandrm -rf .git