方法一
進入項目根目錄下
find . -name ".git" | xargs rm -rf
方法二
PyCharm上設置:
File --> Settings --> Version Control --> 點 Git 選擇 <none>
進入項目根目錄下
find . -name ".git" | xargs rm -rf
PyCharm上設置:
File --> Settings --> Version Control --> 點 Git 選擇 <none>