Re: How do I control the automated commit message on a merge?
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jun 3, 2008, 22:51 UTC
- Message-ID
- <alpine.DEB.1.00.0806032350170.13507@racer.site.net>
- In-Reply-To
- <bd2cb52a0806031455r151303achf0424b5320bf2f07@mail.gmail.com>
Hi,
On Tue, 3 Jun 2008, Marvin Fraeman wrote:
Show 7 quoted lines
> 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/./?/
You might be happy with a post-merge hook amending the commit with a completely different message.
Hth, Dscho