原文:git合並分支時出現“Please enter a commit message to explain why this merge is necessary”報錯的解決方法

有的時候我們在進行項目分支合並 git merge 時會出現如下錯誤 莫方 可以按照以下步驟來解決: 按鍵盤上的 i 鍵可進入插入模式 這時可以修改最上方的黃色部分,改成你想寫的合並原因 按鍵盤上的 Esc 鍵退出插入模式 最后在最下面輸入 :wq 后按回車鍵即可 ...

2020-11-21 16:42 0 526 推薦指數:

查看詳情

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
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步),如果要輸入解釋的話 ...

Wed Oct 31 00:37:00 CST 2018 0 1098
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 Mar 15 20:28:00 CST 2016 3 66500
git commit 出現please enter the commit message for your changes

每次准備提交前,先用 git status 看下,是不是都已暫存起來了,然后再運行提交命令 git commit: 這種方式會啟動文本編輯器以便輸入本次提交的說明。(默認會啟用 shell 的環境變量 $EDITOR 所指定的軟件,一般都是 vim 或 emacs。當然也可以按照第一章介紹 ...

Tue Aug 21 21:35:00 CST 2018 0 9826
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM