Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Git config message template #3938

Open
CrixuAMG opened this issue Sep 24, 2024 · 2 comments
Open

Git config message template #3938

CrixuAMG opened this issue Sep 24, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@CrixuAMG
Copy link

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.

@CrixuAMG CrixuAMG added the enhancement New feature or request label Sep 24, 2024
@stefanhaller
Copy link
Collaborator

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.

@CrixuAMG
Copy link
Author

I'll switch to shift-C for now, a reasonable workaround for this 👍 Thanks for the quick response!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants