My commit message is coming with a main
prefix everytime
#3632
Unanswered
eduardohilariodev
asked this question in
Q&A
Replies: 1 comment 4 replies
-
I also noticed this after syncing my config file with recent changes. Commenting these lines did the trick: commitPrefix:
# pattern to match on. E.g. for 'feature/AB-123' to match on the AB-123 use "^\\w+\\/(\\w+-\\w+).*"
pattern: ""
# Replace directive. E.g. for 'feature/AB-123' to start the commit message with 'AB-123 ' use "[$1] "
replace: "" Not sure why this is required though. Edit: this also occurs with Git version: % lazygit --version
commit=e1d973d62a640e15c867a115f7362ab6f19d83e6, build date=2024-07-13T01:04:32Z, build source=unknown, version=e1d973d6, os=linux, arch=amd64, git version=2.44.2 |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This is my current config that I copied from this repo:
Beta Was this translation helpful? Give feedback.
All reactions