问题
I installed git on my mac and now I started using it from my terminal. I also configured it this way
git config --global core.editor "atom --wait"
but when i use git commit this is what I get
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.
and now I don't know how to proceed. Can someone help?
回答1:
I think you should use the full path to atom.
来源:https://stackoverflow.com/questions/44782004/git-commit-not-working-with-atom-on-mac