git - Textmate git 命令失败并显示 'sh: line 1: git: command not found'

标签 git textmate

当尝试使用 TextMate 的 Git 包中的一些命令(例如“显示未提交的更改”)时,我收到一条错误消息,如“sh: line 1: git: command not found”。

如何让 TextMate 与 Git 一起工作?

最佳答案

http://theappleblog.com/2008/01/09/textmate-no-longer-a-reason-to-avoid-git/

Set the TM_GIT shell variable in the textmate preferences to your git executable to work to solve the command not found problem.

要找到您的 git 二进制文件的路径,请在命令行中键入“which git”。当然,请确保已安装 Git。

关于git - Textmate git 命令失败并显示 'sh: line 1: git: command not found',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1269104/

相关文章:

git - 致命的 : unable to access 'https://github.com/xxx' : OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github. com:443

linux - 在多台计算机 (Mac) 之间同步工作环境的最佳方式

git - 索引如何影响 "git diff"的输出?

Textmate - 缩进不再适用于快捷方式 Cmd + ]

git - "Warning : There are multiple branch changesets here"是什么意思?

git - 我可以在 Git 中有两个跟踪分支(推送和 rebase 分开)吗?

svn - 将 svn 与 Textmate 结合使用

emacs - Textmate:如何输入重复的字符序列?

css - TextMate 中的 Zen Coding CSS 不会扩展任何内容

css - TextMate 中 CSS 文件中颜色词值的选择器是什么?