Reputation:
When I type git commit
Atom should open, but it doesn't.
For the configuration on command prompt, I typed:
config --global core.editor "atom --wait"
When I type:
git commit
It says:
hint: waiting for your editor to close the file .......
error: there was a problem with the editor "atom --wait"
Please supply the message using either -m or -F option.
Upvotes: 0
Views: 616
Reputation: 2681
As it is explained in "Git commit fails: "Please supply the message using either -m or -F option."", you should check your git config core.editor
value.
It might refer to a path with spaces in it, without quotes.
Make sure to use single quotes when registering that editor path,
and double quotes around all command expressions registered, along with
'/'
instead of '\'
for the path separator.
git config core.editor "'C:/path/with spaces/xxx.exe' -<someoptions>"
Upvotes: 1