bahmutov / bahmutov/pre-git

prepare-commit-msg hook?

Open
#88 5 comments 1 reaction 0 assignees View on GitHub
enhancement question
Dominant language
JavaScript
Stars
170
Forks
22
PR merge metrics
No merged PRs in 30d

Description

Hi,

Is it possible to trigger the prepare-commit-msg hook using this configuration in package.json?

```
"config": {
"pre-git": {
"prepare-commit-msg": [
"path/to/prepare-commit-msg"
]
}
}
```

Best,

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the package.json configuration example and how pre-git handles the existing pre-commit and pre-push hooks. Determine whether prepare-commit-msg can be supported through this configuration, then verify the behavior with a Git repository using the shown hook entry.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, javascript
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.