How do I remove version tracking from a project cloned from git?

后端 未结 10 1315
太阳男子
太阳男子 2020-11-28 00:00

I want to remove all version tracking from a project\'s directory.

What is the correct method to do this?

Can I do a shell command such as:

r         


        
10条回答
  •  醉梦人生
    2020-11-28 00:33

    I am working with a Linux environment. I removed all Git files and folders in a recursive way:

    rm -rf .git
    
    rm -rf .gitkeep
    

提交回复
热议问题