Set git to use emacs for commit messages emacs git 9 July 2019 git config --global core.editor "emacs" export VISUAL=emacs export EDITOR="$VISUAL"