sublime-text3 - When using git commit to submit a version without adding -m, you will enter vim. How to write the submission instructions and then exit?
PHPz
PHPz 2017-05-02 09:35:58
0
2
807

If you enter git commit '.' in the command line without adding -m, a window will automatically appear for you to fill in the submission instructions. What should I do after entering it?

The following are the steps, thank you @fudali

1. Press the keyboard i and something will change at the bottom

2. At this time, the cursor is at the top, enter the description 'comment' to be submitted, um Esc, then enter :, and the cursor reaches the bottom

3. After entering wq, press Enter and you will return to the original command line interface

PHPz
PHPz

学习是最好的投资!

reply all(2)
某草草

Press i and then write, press esc after writing, and then enter: wq

洪涛

try press [Esc] key and type ZZ

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template