commit-mate
v1.0.6
Published
What to save time and quickly create well-written and descriptive commit messages without needing to think of them on your own?, look no further.
Downloads
3
Maintainers
Readme
Commit Mate
What to save time and quickly create well-written and descriptive commit messages without needing to think of them on your own?, look no further.
Disclaimer
All this project does is talk to GPT-3 API using your api key. If you don't feel safe entering or using your api key, audit the code to make sure.
Introduction
Commit Mate is a Node.js
based command line tool that uses GPT-3 to generate commit message for your git commits
Setup API Keys
- Head over to openai and create a free account
- Manage or create api key in your account
- Set your api key as your enviroment variable, using
GPT_API_KEY
as variable and your generatedapiKey
as the value, you can read more here on how to set them.
How to install
npm i -g commit-mate
How to use
- In a git based project, stage your files first
git add .
, then runcommit-mate
to get AI suggested commit messages.