Git提交不适用于Mac上的Atom [英] Git commit not working with Atom on Mac

查看:54
本文介绍了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.

这篇关于Git提交不适用于Mac上的Atom的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆