How to fully delete a git repository created with init?

前端 未结 13 1965
再見小時候
再見小時候 2020-11-22 16:42

I created a git repository with git init. I\'d like to delete it entirely and init a new one.

13条回答
  •  星月不相逢
    2020-11-22 17:14

    Alternative to killing TortoiseGit:

    • Open the TortoiseGit-Settings (right click to any folder, TortoiseGit → Settings)
    • Go to the Icon Overlays option.
    • Change the Status Cache from Default to None
    • Now you can delete the directory (either with Windows Explorer or rmdir /S /Q)
    • Set back the Status Cache from None to Default and you should be fine again...

提交回复
热议问题