github locks up mac terminal when using pull command

后端 未结 8 1711
清酒与你
清酒与你 2020-12-12 08:45

I\'m in the process of learning github on mac (command-line) and whenever I do git pull origin master i get this

# Please enter a commit message         


        
8条回答
  •  悲哀的现实
    2020-12-12 09:06

    You're in the text editor, vim! It's a modal text editor, so you would need to:

    1. Press i to enter insert mode.
    2. Now you can type your message, as if you were in a normal (non-modal) text editor.
    3. Press esc to go back to command mode.
    4. Then type :w followed by enter to save.
    5. Finally :q followed by enter to quit.

提交回复
热议问题