1.9.1 • Published 1 year ago
@miaos/ollama-commit v1.9.1
ollama-commit
use ollama to generate commit message
Before all
ollama pull llama3.2:latestFeature
- 🐑 use
ollamato generate commit message 🐶 no api key required, use local LLM model
Install
npm i -g @miaos/ollama-commitUsage
- edit some files in your project
- use
git addto add some changes - run
ollama-commitin the root of your project
Api
useEmoji
commit prefix with emoji
useEmoji=true ollama-commitmodel
use custom model
model=llama3.2 ollama-commitCommit style
commit style follow Semantic Commit Messages style.