How do I make git use the editor of my choice for commits?
- by brass-kazoo
For example, I would prefer to write my commit messages in vim, but it is opening emacs.
How do I configure git to always use vim instead? Note that I want to do this globally, not just for a single project.