One - One Code All

Blog Content

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

Linux-Mac   2012-08-26 22:33:45

使用命令  git rm filename 删除版本库中文件,
按照提示输入
git commit -a
出现提示:
please enter the commit message for your changes

解决:
输入命令 :wq 退出编辑区

重新提交:

git commit -a -m "comment",



上一篇:git pull不更新指定文件
下一篇:linux用md5sum查看文件md5值,diff查看文件区别

The minute you think of giving up, think of the reason why you held on so long.