How to cancel git initialization of a directory
大家讲道理
大家讲道理 2017-05-02 09:39:17
0
3
749

Accidentally git inited the entire system root directory, which resulted in a reminder that The directory /Users/joe is under Git when opening any project.....
Please tell me how to cancel git for /Users/joe version control. (There are other libraries in subdirectories under this directory)

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all(3)
曾经蜡笔没有小新

Executerm -rf .git

習慣沉默

yangxiangming's operation is correct. The modifications of each git project will only be stored in the .git folder under its own git project directory and will have no impact on other .git folders. The only thing that has an impact is that the child git project must be submitted before the parent git project can be added or committed. I just tried your operation, deleting the .git folder under /Users/joe can revoke git's version control on /Users/joe

滿天的星座

Just delete the .git folder

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