You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use hooks.goodcommit.color for color config if set
This change:
* Favour `hooks.goodcommit.color` for color config if set, fallback to
`color.ui` if not set, default to `auto` if none set.
* Adds 'Configuration' section to README.
Copy file name to clipboardExpand all lines: README.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,6 +65,16 @@ n - abort commit
65
65
? - print help
66
66
```
67
67
68
+
## Configuration
69
+
70
+
The default colour setting is `auto`, but the hook will use `git`'s `color.ui` config setting if defined. You override the colour setting for the hook with:
0 commit comments