Written by marcelpetrick
on January 18, 2015
SmartGit does not allow to modify auto-generated messages of merge-commits. If you follow a certain policy, then the auto-format does not fit to your style. So it has to be changed:
1 2 3 4 5 6 7 8 9 10 |
* go to your current repository * grab first the last message System:project marcelpetrick$ git shortlog -1 Marcel Petrick (1): Merge remote-tracking branch 'origin/master' into Ticket1234 * fix it, by prepending a certain prefix System:project marcelpetrick$ git commit --amend -m "Ticket1234: update to the current HEAD@master.\nMerge remote-tracking branch 'origin/master' into Ticket1234" [Ticket1234 4223666] Ticket1234: update to the current HEAD@master.\nMerge remote-tracking branch 'origin/master' into Ticket1234 Date: Sun Jan 18 14:26:37 2015 +0100 System:project marcelpetrick$ Merge remote-tracking branch 'origin/master' into Ticket1234 |
Leave a Reply
You must be logged in to post a comment.