Re:Git commit accepts several message flags (-m) to allow mu...
by delusional on Wednesday July 08, 2020 @11:04AM
(#23770579)
For this usecase git has the 'prepare-commit-msg' hook that allows you to configure this per repo.
[ Parent
| on HN ]
Re:Git commit accepts several message flags (-m) to allow mu...
by pletnes on Wednesday July 08, 2020 @11:44AM
(#23771010)
I use this to insert the jira issue key into the commit message.
Re:Git commit accepts several message flags (-m) to allow mu...
by mtbnut on Wednesday July 08, 2020 @07:59PM
(#23775607)
Smart. The dev tool I use automatically links my commits to the Jira issue that initiated the project/fix/update. The key and sha are forever linked. It does the same with Clubhouse.