我在本地存储库(克隆或派生的存储库)上有一次提交,为了从上游存储库提取更改,我使用:
GIT_TRACE=true git pull upstream master
它被卡在
exec: editor: /src/somepath/.git/MERGE_MSG
发布于 2018-06-09 06:35:01
检查你的core.editor
git config --global core.editor
git拉动上游主站被卡住了没有指定编辑器,你可以指定为:
git config --global core.editor "gedit"
现在,如果您运行
git pull upstream master
对于合并邮件,gedit或您指定的编辑器将打开.git/ merge _MSG文件,您可以添加合并邮件并将其关闭。
https://stackoverflow.com/questions/50769205
复制相似问题