尝试从pycharm
进行2个文件的简单提交时,我收到错误消息@collection.remove_cover!
git status输出以下内容
06:11 Commit failed with error
0 files committed, 1 file failed to commit: pagination
warning: CRLF will be replaced by LF in static/images/kb-icon-arrow-1.svg.
The file will have its original line endings in your working directory.
答案 0 :(得分:1)
警告后应该有一个实际的错误,例如(因为' pagination
'不是正在提交的文件)
Creation of commit message file failed
那是reported before(带有提交消息,或git hook issue),可能是一个错误(确保升级pycharm),但在此期间,检查是否{{1}在命令行中允许您通过该特定提交。
答案 1 :(得分:0)
我通过删除.gitconfig中的[i18n]配置
解决了这个问题