Change git commit editor to vi on Ubuntu

To change the editor that launches when committing with git on Ubuntu to vi, do the following. By default, it may be a different editor.

git config --global core.editor "vi"

Associated Information