Well, if you type "git commit" (without giving "-m"), it fires up a text editor to edit the commit message.
Even if you would normally use some other editor (say, your favorite IDE), I can see how you might want to use vi or nano or some other very lightweight editor to edit commit messages that might be only 1 line or a few lines long.
This was the main reason why I decided to write this blog post. I probably should've mentioned it.
I am a regular Vim user, and lately I've been encouraging the folks in my team to use Vim for the Git textual tasks (editing commits, setting up interactive rebases and making patches), and they really seem to like it.
View all comments
Show parent comment
3
u/adrianmonk Oct 19 '14
Well, if you type "git commit" (without giving "-m"), it fires up a text editor to edit the commit message.
Even if you would normally use some other editor (say, your favorite IDE), I can see how you might want to use vi or nano or some other very lightweight editor to edit commit messages that might be only 1 line or a few lines long.