When I give the command "$git commit" to git bash, then
$ git commit
hint: Waiting for your editor to close the file... atom --wait: atom: command not found
error: There was a problem with the editor 'atom --wait'.
Please supply the message using either -m or -F option.
this error is thrown by git. I have configured atom in git using this command :-
$ git config --global core.editor "atom --wait"