TextMateのGit Textmate bundleをインストール。
Git Textmate bundleをgitでインストール
$ cd ~/Library/Application Support/TextMate/Bundles/
$ git clone git://gitorious.org/git-tmbundle/mainline.git Git.tmbundle
TextMateのbundleをリロード
$osascript -e 'tell app "TextMate" to reload bundles'
gitのコミットメッセージ用のエディターをTextMateに設定
$ emacs ~/.bashrc
export GIT_EDITOR="mate -w"
TextMateにTM_GIT変数を設定
TextMate-Preferences-Advanced-Shell Variablesを開いて
Variable : TM_GIT
Value : /opt/local/bin/git
を設定。
Valueについてはgitコマンドのあるところ。
自分の場合は、
$ which git
/opt/local/bin/git