清除本地文件夹下的Git文件,然后在重新初始化新建的git仓库

//删除文件夹下的所有 .git 文件

find . -name ".git" | xargs rm -Rf

//初始化仓库

git init