Re: Problem Creating Commit Messages
- From
- Jonas Flodén <jonas.floden@gmail.com>
- Date
- Mar 27, 2009, 07:56 UTC
- Message-ID
- <gqi0qn$i3k$1@ger.gmane.org>
- In-Reply-To
- <22735968.post@talk.nabble.com>
bggy wrote:
Show 9 quoted lines
> Hello, I'm new to git and I haven't been able to create commit messages in > either vim or textmate(changed core.editor to mate). I can create commit > messages when I use the -m option, but I like creating multiple-line > messages and it's easier to do it with a fresh line-break in the terminal. > > Using textmate I saved and closed the textmate file that pops up after $git > commit -a, but git responds that the commit was terminated due to an empty > message. >
Hi there, For TextMate to work with Git you need to add the option -w to "mate" which will specify that it should wait for the file to be closed.
So set EDITOR="mate -w" and it should work with TextMate.
With regards, Jonas