aicommit/README.md

26 lines
421 B
Markdown
Raw Normal View History

# use AI to draft commit messages
aicommit injects a commit message draft written by RayAI before loading your default editor for review.
requires: cur, jq
> aicommit_groq is broken. Don't use.
## use
1. Clone the repo
1. Add to your `~/.bashrc`
```bash
export GIT_EDITOR="<path/to/>aicommit"
```
1. Use git as normal.
```bash
git commit
```
Using the `-m` flag will bypass generating a message `git commit -m`