javascript - I have inited desktop git, how can I undo it?
世界只因有你
世界只因有你 2017-06-05 11:08:29
0
4
1843

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

世界只因有你
世界只因有你

reply all(4)
给我你的怀抱

Deleting the .git folder means that the desktop is no longer a warehouse.
Git will only consider paths with .git folders as working repositories.

Ty80

After git init, a .git folder will be generated. Just delete this folder.
Use the commandrm -rf .git

左手右手慢动作

Why can’t I delete .git?

仅有的幸福

Yes, why can’t I delete .git?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template