Uninitialize git repository

后端 未结 4 795
孤街浪徒
孤街浪徒 2021-02-01 15:40

I have Initialized a git repository and have made some commit in that now for some reason I do not want to track any files in it and want to remove git from my local repo. Is th

4条回答
  •  旧巷少年郎
    2021-02-01 16:16

    Go to "File Explorer Options" in the control panel, there go to "View" and check the option that allows you to see the hidden folders.

    Then go to the folder where you want to un-initialize the git repository and you will find a folder called ".git" (it will be slightly faded since it's a hidden folder).

    Deleting this folder will do the trick.

提交回复
热议问题