首先进入项目目录下 邮件打开 git bash here 执行命令 find . -name ".git" | xargs rm -rf 就清除了git版本控制信息 转载于:https://www.cnblogs.com/uoar/p/10307178.html