A python CLI tool to generate git commit messages using OpenAI
This project is under active development.
- Setup your OpenAI account and grab an API key from your dashboard
- Save that API key as env variable
export OPENAI_API_KEY='sk-********'
you can also save it in your bash profile, so it remains persistence.
- Now, you can install
smartcommit
using pip
pip install https://github.com/0verread/smart-commit/archive/refs/tags/v1.0.0.tar.gz
- Run
scommit
. Now you're good to go.
Once you've set your OPENAI_API_KEY
and installed smartcommit using pip, you can use it using scommit
commnad.
This project is inspired by Miguel Piedrafita's project auto-commit
- pip installer
- Support args
- Error handling
This project is released under MIT License