From: Jonas Flodén Date: Fri, 27 Mar 2009 07:56:07 GMT Subject: Re: Problem Creating Commit Messages Message-ID: In-Reply-To: <22735968.post@talk.nabble.com> bggy wrote: > 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