【发布时间】:2017-12-06 00:27:53
【问题描述】:
我有一个重复的问题,每当我从远程 git 存储库中提取更改时,我的终端都会打印以下几次并启动括号:
[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0
我不知道它为什么会推出 Brackets,尤其是因为 Sublime Text 是我的默认编辑器,而我不再使用 Brackets。为了阻止这种情况,我卸载了 Brackets。现在,当我尝试拉动时,会收到以下消息:
error: There was a problem with the editor '/Applications/Brackets.app/Contents/MacOS/Brackets -wl1'.
Not committing merge; use 'git commit' to complete the merge.
当我再试一次时:
error: You have not concluded your merge (MERGE_HEAD exists).
hint: Please, commit your changes before merging.
fatal: Exiting because of unfinished merge.
当我没有进行任何本地更改时会发生这种情况,并且 git 应该只提取所有新更改而不会发生冲突。我知道,几年前,我将 Brackets 设为我的默认编辑器,但很快就切换到了 Sublime Text。 Git 和括号仍然必须以某种方式链接,但我不知道如何解决。
【问题讨论】:
-
这只发生在特定的本地 Git 存储库还是您的所有存储库?是否有任何受影响的存储库定义了任何钩子?
-
您的环境中是否设置了
GIT_EDITOR?git config --get-all core.editor有什么显示吗?
标签: git unix command-line adobe-brackets