当尝试使用 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/