【发布时间】:2010-10-30 03:34:07
【问题描述】:
我正在尝试配置 git.el。当我执行 git-status 时,我可以看到状态缓冲区已更改,我也可以使用“a”添加文件,但是当我尝试使用 c 提交文件时 编写提交日志并用 C-c C-c 完成它给了我
env: git: No such file or directory
错误且文件未提交。我在 OS X 上使用 emacs 23。我添加到我的 .emacs 中的唯一自定义是
(setq exec-path (append exec-path '("/opt/local/bin")) )
因为 emacs 找不到 git 可执行文件。
【问题讨论】:
-
命令行中'which git'的输出是什么?
标签: git macos version-control emacs