git 删除文件时出现:please enter the commit message for your changes

1.使用命令  git rm test.txt 删除版本库中文件,

   下一步:git commit 提交

   出现如图:

git 删除文件时出现:please enter the commit message for your changes


这是因为没有同时提交信息,即:git commit -m "这里是信息"

即上面红色部分,添加就不会出现提示了,


上面的界面退出     输入命令 :wq    即可