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"
If this problem appears, you have to :
1 - Go to the Atom menu.
2 - Select "Install Shell Commands".
3 - Restart the terminal
It's magic it works :D
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With