Possible Duplicate:
How do I get git to use Textmate as my default editor?
When I type git commit
...it launches TextMate and I see all the changes in the file commented out.
But then at the command line, I see this (basically immediately as TextMate was launched):
Aborting commit due to empty commit message.
If I type something in the TextMate window and close it, the commit doesn't happen. I still see everything unstaged.
Edit 1: When I do git commit -am <some message>
, that works just fine.
Edit 2:
My .bash_profile
looks like this:
alias mate='open -a TextMate.app'
export EDITOR="/usr/bin/mate -w"
Help!