git diff
If you don't see color or see a lot of ESC characters in diffs:
export LESS=eFRXgit commit
If it fails to let you enter a full commit message, set the editor to vim:
git config --global core.editor "vim"Fixes for common git annoyances on remote machines.
2020
If you don't see color or see a lot of ESC characters in diffs:
export LESS=eFRXIf it fails to let you enter a full commit message, set the editor to vim:
git config --global core.editor "vim"