Bash: How to make git use TextMate as the default commit editor « Developmentality
git config --global core.editor "mate -w"