小编X.G*_*X.G的帖子

使用atom作为git编辑器无法等待提交消息,为什么?

我已经配置了我的git编辑器:

git config --global core.editor "atom --wait"
Run Code Online (Sandbox Code Playgroud)

要么

git config --global core.editor "atom -w"
Run Code Online (Sandbox Code Playgroud)

基于StackOverflow中的一些帖子.

我的.gitconfig文件就像在线一样:

editor = atom -w
Run Code Online (Sandbox Code Playgroud)

要么:

editor = atom --wait
Run Code Online (Sandbox Code Playgroud)

但是,当我尝试使用git commit时,由于空提交消息,git中止了提交.之后,Atom在此之后推出.如果我输入提交消息,请保存并退出.bash中的消息是:

 Attempting to call a function in a renderer window that has been closed or released. Function provided here: Object. Remote event names: destroyed, crashed
Run Code Online (Sandbox Code Playgroud)

谁能帮助我?首先十分感谢.

git atom-editor

5
推荐指数
1
解决办法
553
查看次数

标签 统计

atom-editor ×1

git ×1