AI-powered git commit message generator.
npm install commit_with_aibash
npm install -g commit_with_ai
`
Or use without installing:
`bash
npx commit_with_ai --auto
`
Usage
With global installation:
`bash
Stage your changes first
git add .
Generate and commit automatically
smart-commit --auto
Or review before committing
smart-commit
Add all files and commit automatically
smart-commit --add --auto
Add all files and review before committing
smart-commit --add
`
With npx (no installation needed):
`bash
Add all files and commit automatically
npx commit_with_ai --add --auto
Or review before committing
npx commit_with_ai --add
`
Example
`bash
$ smart-commit --add --auto
š Adding all files...
ā
Files added successfully!
ā Analysis complete!
š® Suggested Commit Message:
"feat: add user authentication module"
š¦ Applying commit...
ā
Commit successful!
``