how to set git editor code example
Example 1: git config
git config --global user.name "John Doe"
git config --global user.email [email protected]
Example 2: git commit --amend choose editor
git config --global core.editor "/bin/nano"
git config --global user.name "John Doe"
git config --global user.email [email protected]
git config --global core.editor "/bin/nano"