From: Marvin Fraeman Date: Wed, 04 Jun 2008 00:05:43 GMT Subject: Re: How do I control the automated commit message on a merge? Message-ID: In-Reply-To: On Tue, Jun 3, 2008 at 3:51 PM, Johannes Schindelin wrote: > Hi, > > On Tue, 3 Jun 2008, Marvin Fraeman wrote: > >> when Git does a merge (no conflicts), it auto-generates a commit message >> like: >> >> Merge branch 'master' of /path/to/other/repo >> >> How can I change this so my required string gets written at the >> beginning of the commit message. > > s/./?/ Where do I do the substitution in this case? I don't know where this default commit message is coming from and where to intercept it. Are you saying this is part of the post-merge hook or is that an alternative solution? Thank you