$ git commit error: cannot run vim: No such file or directory error: There was a problem with the editor 'vim'. Please supply the message using either -m or -F option.
How can I overcome the error and define the editor?
You can also set the
The answer was:
as it was a new machine and vim wasn't installed.