Heartcroft
Heartcroft

Reputation: 1712

Cannot use "git commit -a"

Yesterday I set up a new machine to develop with, which makes me think I probably missed one step somewhere because when I run:

$ git commit -a

I get the following:

error: cannot run : No such file or directory
error: There was a problem with the editor ''.
Please supply the message using either -m or -F option.

Any thoughts?

Thanks in advance.

Upvotes: 1

Views: 340

Answers (1)

Heartcroft
Heartcroft

Reputation: 1712

So I forgot to configure the git editor, this is how I did it for vim.

$ git config --global core.editor vim

Upvotes: 2

Related Questions