lazygit
lazygit copied to clipboard
Git config message template
Is your feature request related to a problem? Please describe.
When we work on Jira tickets all commit messages need to be prepended with the ticket number. For normal git commit usage I have created a script that creates a new branch feature/[TICKET NUMBER] and also sets the global git commit message template where the ticket number is added. Lazygit does not pick up this template, but this would be a very welcome addition.
Describe the solution you'd like When a (global) commit message template is set, it is automatically inserted in the input boxes in the commit window.
There's some discussion related to this in #3108. For now, maybe using shift-C to commit with your editor could be an acceptable workaround.
I'll switch to shift-C for now, a reasonable workaround for this :+1: Thanks for the quick response!