When trying to use some of the commands from the Git bundle for TextMate (eg. 'Show Uncommited Changes') I get an error message like 'sh: line 1: git: command not found'.
How do I make TextMate work with Git?
When trying to use some of the commands from the Git bundle for TextMate (eg. 'Show Uncommited Changes') I get an error message like 'sh: line 1: git: command not found'.
How do I make TextMate work with 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.
To find the path to your git binary, type "which git" on the command line. And of course, make sure Git is installed.
@Radamanthus You shouldn't run "sh git" from your commandline. You should run "git" directly. Also, you should use the which command (run "which git") to get a path to your git binary (as mentioned by @John Millikin).
Also, once you add the TM_GIT var, restart TextMate. Didn't work for me after the preference change without a restart.