Git提交不适用于Mac上的Atom

问题描述:

我在Mac上安装了git,现在我从终端开始使用它.我也以这种方式配置

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"

但是当我使用git commit时,这就是我得到的

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?

我认为您应该使用原子的完整路径.

I think you should use the full path to atom.