From eefe704f4cbeed8f0c813ee942399ba147b7160f Mon Sep 17 00:00:00 2001 From: Easton Potokar Date: Wed, 13 Nov 2024 20:49:35 -0500 Subject: [PATCH] Fix lazygit default commit messages --- .config/lazygit/config.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.config/lazygit/config.yml b/.config/lazygit/config.yml index 6e8478d..b1588d5 100644 --- a/.config/lazygit/config.yml +++ b/.config/lazygit/config.yml @@ -296,13 +296,15 @@ git: # If true, do not allow force pushes disableForcePushing: false + # This is broken for some reason + # https://github.com/jesseduffield/lazygit/discussions/3632 # See https://github.com/jesseduffield/lazygit/blob/master/docs/Config.md#predefined-commit-message-prefix - 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: "" + # 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: "" # See https://github.com/jesseduffield/lazygit/blob/master/docs/Config.md#predefined-branch-name-prefix branchPrefix: ""