Atom editor 由于提交消息为空,正在中止提交。带有atom的git bash不工作

Atom editor 由于提交消息为空,正在中止提交。带有atom的git bash不工作,atom-editor,Atom Editor,我到底为什么看到这个 我认为您的git配置中存在一些问题,但您可以这样做: 您可以通过将提交消息放在-m之后来添加提交消息: git commit -a -m"This is my commit message" 或者可以通过传递-allow empty message忽略消息 e、 g 祝你好运我遇到了同样的问题,我尝试了这个方法并解决了问题: git config-global core.editor C:/Users/USERNAME/AppData/Local/atom/bin/ato

我到底为什么看到这个


我认为您的git配置中存在一些问题,但您可以这样做:

您可以通过将提交消息放在-m之后来添加提交消息:

git commit -a -m"This is my commit message"
或者可以通过传递-allow empty message忽略消息 e、 g


祝你好运

我遇到了同样的问题,我尝试了这个方法并解决了问题:

git config-global core.editor C:/Users/USERNAME/AppData/Local/atom/bin/atom.cmd-w

在电脑中将用户名替换为您的用户名

可能重复的
git commit -a --allow-empty-message