(1)Please enter a commit message to explain why this merge is necessary
請輸入送出消息來解釋為什麼這種合并是必要的
解決方法:
git 在pull或者合并分支的時候有時會遇到這個界面。可以不管(直接下面3,4步),如果要輸入解釋的話就需要:
1.按鍵盤字母 i 進入insert模式
2.修改最上面那行黃色合并資訊,可以不修改
3.按鍵盤左上角”Esc”
4.輸入”:wq”,注意是冒号+wq,按Enter鍵即可
(2)error: The following untracked working tree files would be overwritten by merge:
KWZConstruction/Section/ProjectView/Models/.DS_Store
Please move or remove them before you merge.
遇到這個錯誤的,可以删除掉這個檔案,然後在進行操作,但是遇到這種.de_store檔案幾乎有檔案夾的地方,都會生成一個,這個時候我們就要用指令先清除,然後再進行之前的操作,指令如下: