Most of us use git as their version control system and in day to day life while developing any application we commit our changes quite frequently. We follow the traditional way of committing changes like below –
$ git commit -m "Our commit message"
But we have another cool option to do this commit. We can use our favorite text editor for this commit. We have to first tell git that pop up the text editor every time you commit changes. For this execute below command in your terminal –
$ git config --global core.editor "vim"
Here it will pop up the vim text editor when you will execute git commit
.

Thank you 🙂