1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-28 16:02:01 +03:00

Add skipHookPrefix to config

allows a user to specify a commit message prefix that will tell lazygit to skip
the pre-commit hook. This defaults to WIP. Setting it to the empty string will
disable the feature.

So if my message goes 'WIP: do the thing' then the pre-commit hook will not run
This commit is contained in:
Jesse Duffield
2019-04-13 13:34:12 +10:00
parent cadc74eeec
commit ab9fa291a8
4 changed files with 10 additions and 3 deletions

View File

@ -21,6 +21,7 @@
merging:
# only applicable to unix users
manualCommit: false
skipHookPrefix: WIP
update:
method: prompt # can be: prompt | background | never
days: 14 # how often an update is checked for