Skip to content

0verread/smart-commit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

smart-commit

A python CLI tool to generate git commit messages using OpenAI

This project is under active development.

How to use it

  1. Setup your OpenAI account and grab an API key from your dashboard
  2. Save that API key as env variable
  export OPENAI_API_KEY='sk-********'
  1. Install all dependencies
pip install -r requirements.txt
  1. Run smartcommit.py file
python smartcommit.py

Credit

This project is inspired by Miguel Piedrafita's project auto-commit

TODO

  • pip installer
  • Support args
  • Error handling

License

This project is released under MIT License