小编eai*_*idy的帖子

当我尝试在 vscode 中提交时,为什么会打开 COMMIT_EDITMSG?

到目前为止,我可以在 VS Code 中提交所有更改,而不会出现任何复杂情况。现在,当我尝试通过单击“源代码管理”选项卡右上角的小“勾号”来提交更改时,编辑器上会显示一个名为“COMMIT_EDITMSG”的文件,并且源代码控制面板仍处于加载状态状态,什么也没有发生。

我不知道为什么突然发生这种事,但我什么也没做。

这个问题有解决办法吗?

这是文件内容:

# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
#
# On branch master
# Your branch is up to date with 'origin/master'.
#
# Changes to be committed:
#   modified:   pages/support-topics.vue
#
Run Code Online (Sandbox Code Playgroud)

git visual-studio-code

30
推荐指数
2
解决办法
3万
查看次数

标签 统计

git ×1

visual-studio-code ×1