使用命令 git rm filename 删除版本库中文件,按照提示输入git commit -a出现提示:please enter the commit message for your changes解决:输入命令 :wq 退出编辑区重新提交:git commit -a -m "comment",