When using the GIT command-line tool, you often accidentally enter the Vim interface, for example, git commit does not fill in any descriptive information. For users who are accustomed to the Windows visual interface, they may suddenly feel overwhelmed by a short press on the keyboard. Here's a quick introduction to the Vim interface:
1. Exit window
After entering the VIM, the keyboard does not have a oh according to your expected results, this is the most you want to quit the operation, you can refer to the following ways:
1) Key ESC, if not valid, press two times consecutively
2) When the bottom hint line appears blank, enter the colon ":"
3) Re-enter the letter "Q", enter (input Wq, exit for Save)
2. Inserting text messages
Under command input mode, enter the letter "I", then Vim enters the insert mode, you can enter your own content. Such as:
(Microsoft ALM MVP Zhang Hongjun Http://www.cnblogs.com/danzhang)
--
Git tips: How to fill out comments in vim