SmartGit
SmartGit can process warnings from commit-hooks!
Written by marcelpetrick on March 8, 2019
Another thing I was not aware of: SmartGit can present warnings reported from (pre-)commit-hooks in an alerting way.
Just add echo “warning:” as prefix to your message and it will result in a warning signpost and a modal dialog after commit.
I’ve filed a change-request to make this parsing of the messages case-insensitive.
git commit –amend (or: work-around the issue with changing merge-commit-message a posteriori with SmartGit)
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 |