1).在本地项目里,cd到本项目根路径下;
2).执行添加: git rm -r --cached '文件夹名'
3).提交注释:git commit -m '删除xxx'
4).最后:git push
完成。