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

后端 未结 10 1350
太阳男子
太阳男子 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:42

    The easiest way to solve this problem is to use a command line. Type this command

    rm -R .git/
    

    OR

    rm -rf .git/
    

提交回复
热议问题