Using git commit -a with vim

前端 未结 6 1688
攒了一身酷
攒了一身酷 2020-12-22 14:52

I\'m new with git, so I decided to learn git using the tutorials of github. The third chapter said:

\"For this first example we’ll modify the README

6条回答
  •  死守一世寂寞
    2020-12-22 15:22

    See this thread for an explanation: VIM for Windows - What do I type to save and exit from a file?

    As I wrote there: to learn Vimming, you could use one of the quick reference cards:

    • http://bullium.com/support/vim.html
    • http://tnerual.eriogerg.free.fr/vim.html

    Also note How can I set up an editor to work with Git on Windows? if you're not comfortable in using Vim but want to use another editor for your commit messages.

    If your commit message is not too long, you could also type

    git commit -a -m "your message here"
    

提交回复
热议问题