git rm -r -f --cached 文件或文件夹git
git commit -m "移除文件或文件夹"spa
git push origin master版本控制
注意:要删除的文件或文件夹已处于git版本控制内。it