should you change your git text editor code example
Example 1: set git editor
$ git config --global core.editor vim
Example 2: git config
git config --global user.name "John Doe"
git config --global user.email [email protected]
$ git config --global core.editor vim
git config --global user.name "John Doe"
git config --global user.email [email protected]