generate commit messages using ai
npm install @stephansama/ai-commit-msg



generate commit messages using ai
##### Table of contents
Open Table of contents
- Installation
- Usage
- Husky
``sh`
pnpm install @stephansama/ai-commit-msg
1. Install and initialize husky
`sh`
npm install --save-dev husky && npx husky init
2. create the prepare-commit-msg hook by creating a file located at.husky/prepare-commit-msg
`sh
#!/bin/sh
ai-commit-msg -o "$1"
``