時鎖定了MAC終端我在學習github上的在Mac(命令行)的過程中,每當我做git pull origin master
我得到這個github上使用拉命令
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
".git/MERGE_MSG" 7L, 293C
終端似乎鎖定和不允許我立即輸入任何內容,然後當它最終允許我輸入文本時,它似乎不能識別git命令。
這是git中的錯誤還是我錯過了什麼?
它真的鎖死了,還是你不熟悉'vi'? –
我不能完全告訴你爲什麼,但git希望你輸入一個提交信息,而你很可能在文本編輯器vim中。 – Misch
啊我看,是的,我不熟悉vim。我如何輸入並保存評論然後推斷? – zero