I have a problem when committing a file with atom text editor
I've used in Git Bash
git config --global core.editor "atom --wait"
but when committing a file like this:
git commit
This error show up:
hint: Waiting for your editor to close the file... 'C:\Users\SALAH' is not recognized as an internal or external command,
operable program or batch file.
Aborting commit due to empty commit message.
but when using sublime text as my text editor like this:
git config --global core.editor "'C:\Program Files\Sublime Text 3\sublime_text.exe' -n -w"
the commitment works perfectly
it is a problem with atom or something about the PATH...
any suggestions I will be thankful