原文:git commit 时出现:please enter the commit message for your changes

每次准备提交前,先用 git status 看下,是不是都已暂存起来了,然后再运行提交命令 git commit: 这种方式会启动文本编辑器以便输入本次提交的说明。 默认会启用 shell 的环境变量 EDITOR 所指定的软件,一般都是 vim 或 emacs。当然也可以按照第一章介绍的方式,使用 git config global core.editor 命令设定你喜欢的编辑软件。 编辑器会显 ...

2018-08-21 13:35 0 9826 推荐指数:

查看详情

gitPlease enter a commit message to explain why this merge is necessary

Please enter a commit message to explain why this merge is necessary. 请输入提交消息来解释为什么这种合并是必要的 git在pull或者合并分支的时候有时会遇到这个界面。可以不管(直接下面3,4步),如果要输入解释的话 ...

Tue Oct 23 06:47:00 CST 2018 0 1087
gitPlease enter a commit message to explain why this merge is necessary.

今天,在执行git命令:git merge master,将master分支合并到当前分支的时候,弹框提示输入信息,如图: 具体操作如下: git 在pull或者合并分支的时候有时会遇到这个界面。可以不管(直接下面3,4步),如果要输入解释的话就需要: 1.按键盘字母 ...

Tue Feb 27 19:38:00 CST 2018 0 2197
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM