Quite new to git, so if i made any obvious mistakes I am sorry.
When I do git commit, it prints the following message:
hint: Waiting for your editor to close the file... /c/Users/UserName/AppData/Local/atom/bin/../app-
1.44.0/resources/cli/atom.sh: line 23: cmd.exe: command not found
Aborting commit due to empty commit message.
I am assuming it is to do with cmd.exe written in atom.sh file, but I am not sure, I tried reinstalling atom and git but nothing. And i did
git config --global code.editor "atom --wait"
I also tried replacing "atom" with its actual directory path, then it says:
Waiting for your editor to close the file...
and says aborted due to empty commit message, then opens atom editor.
Sorry if it is a bit confusing question, I have been stuck on this for so long. Thanks