2024-08-06 22:59:29 -04:00
|
|
|
## use AI to draft commit messages
|
|
|
|
|
2024-08-08 04:38:37 -04:00
|
|
|
aicommit injects a commit message draft written by RayAI before loading your default editor for review.
|
2024-08-06 22:59:29 -04:00
|
|
|
|
2024-08-06 23:27:17 -04:00
|
|
|
requires: jq
|
|
|
|
|
2024-08-08 04:38:37 -04:00
|
|
|
> aicommit_groq is broken. Don't use.
|
|
|
|
|
2024-08-06 22:59:29 -04:00
|
|
|
### use
|
2024-08-08 04:38:37 -04:00
|
|
|
|
|
|
|
Change your
|
2024-08-06 23:21:34 -04:00
|
|
|
|
|
|
|
```bash
|
2024-08-08 04:38:37 -04:00
|
|
|
export GIT_EDITOR="<path/to/>aicommit"
|
2024-08-06 22:59:29 -04:00
|
|
|
```
|
2024-08-08 04:38:37 -04:00
|
|
|
|
2024-08-06 23:21:34 -04:00
|
|
|
```bash
|
2024-08-08 04:38:37 -04:00
|
|
|
git commit
|
2024-08-06 22:59:29 -04:00
|
|
|
```
|