I have a git commit template as below:
[overtype with subject line up to 50 chars ----->]
[overtype with details of what's in the commit]
[other information]
Ticket-Refs:
I would like to append the string after “Ticket-Refs:” to a git log graph --pretty=format:
I was trying to use the --grep= to achieve this on the %b or %B, any help would be appreciated.
Definitely not the most graceful way, but here is an option:
Or another option
I shamelessly stole some of the code for the second option from another post