执行git commit命令不小心进入了VI/VIM,怎么退出?
2017-02-28 本文已影响89人
简疏志
在vi模式下输入
To solve this:
press "i"
write your merge message
press "esc"
write ":wq"
then press enter
"i" is for "insert", "esc" is the exit the insertion, and ":wq" is just "write" and "quit".