How to clear project git version control information

  First enter the project directory, right-click to open Git Bash Here, and execute the following command to clear the git version control information.

$ find . -name ".git" | xargs rm -rf

  After the command is executed, the .git folder under the original project folder is deleted, and the git version control information is also deleted.

Guess you like

Origin blog.csdn.net/piaoranyuji/article/details/112845625