I use GIT for version control. When I commit, all is well if I use -m and type the message in line. If I don't use -m, GIT rejects the commit for having no message. I suspect I need to tell GIT to wait for completion of the save, but my efforts to do that have failed. This is not a problem with TM2, but I don't know how to get TM to tell GIT to pause. Can someone help me set this up so it works as it should?
--Lewy
On 2013-06-13 22:21, Lewy wrote:
I use GIT for version control. When I commit, all is well if I use -m and type the message in line. If I don't use -m, GIT rejects the commit for having no message. I suspect I need to tell GIT to wait for completion of the save, but my efforts to do that have failed. This is not a problem with TM2, but I don't know how to get TM to tell GIT to pause. Can someone help me set this up so it works as it should?
Add the following to your ~/.gitconfig file:
[core] editor = mate -w
The -w flag will tell TM to wait.