Drop in git commit replacement with AI commit message.
Have any suggesstions, or errors? Please send me an email! jake@burla.dev
Except it AI-generates a commit message when no -m or --message argument is passed.
- Confirmation is required before comitting,
-yor--yesskips confirmation. - All other args are passed to the underlying
git commitcall, it's behaivior is otherwise identical.
Prompt is stored in a textfile located at: giz prompfile.
The diff (git diff --staged) is pasted two newlines below whatever you put in this file.
Default prompt: Generate me a very concise, short commit message from the following git diff:
pip install gizgiz set_openai_api_key <your-api-key>giz commit ...