删除文件夹 git rm --cached -r 文件夹名字 删除文件 git rm --cached 文件名字 删除后不用git add 直接提交 git commit -m "desc" 提交 git push