Reputation: 1291
I am trying to set up Atom as my default text editor in git bash.
however, I cant get the git commit command to execute..
I have used "git config --global core.editor "atom" to get this error:
If I use " git config --global core.editor "atom --wait", then the error is about the powershell.
In either case, Atom opens up ok, however I dont have a chance to write any changes before the Aborting commit message appears in bash, like here.
My environmental path variable is set up ok (C:\Users\Maria\AppData\Local\atom\bin)
Not sure what else to check? I am on Windows 7. any advice?
so far, I'm getting by using git commit -m "my change" to circumvent this problem - yet I wish I could use Atom.
Upvotes: 2
Views: 257
Reputation: 11
I had the exact same problem. I just ran the following line of code in the Windows command prompt and it got resolved:
git config --global core.editor "atom -w -d"
Upvotes: 1