Git commit not working with Atom on Mac

徘徊边缘 提交于 2019-12-12 06:13:07

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!