The 08/08/2016

How to have vim instead of nano to write a comment in my git commit

Here's how to have vim instead of nano (it works with any editor) under UBUNTU when you do a "git commit" :

git config core.editor "vim"
Now for each environment GIT will be your default editor ! This will be less annoying to edit the comment GIT if you are used to vim ... no more excuses to leave it empty;)
Comments on this article
No comments yet for this article. Be the first !

You must be logged in to comment an article.