How to remove git repository created on desktop

后端 未结 7 817
梦谈多话
梦谈多话 2021-02-04 01:14

I accidentally made my Desktop a git repository. How to remove the git-related files from Desktop?

  • I have tried to go to C:/User/my_user/Desktop and un-hide hidden
7条回答
  •  独厮守ぢ
    2021-02-04 01:25

    Go to your project directory and execute the following command on windows rmdir /s /q .git that will remove all of the git references.

提交回复
热议问题