From e3704b4e6edbf8b6250b27e08b5c1412437837f1 Mon Sep 17 00:00:00 2001 From: anaxios Date: Thu, 8 Aug 2024 02:15:21 -0700 Subject: [PATCH] update README to reflect new feature and remove deprecated usage of aicommit_groq --- README.md | 14 ++++++++++---- test.txt | 1 + 2 files changed, 11 insertions(+), 4 deletions(-) create mode 100644 test.txt diff --git a/README.md b/README.md index a26481b..08f8393 100644 --- a/README.md +++ b/README.md @@ -1,19 +1,25 @@ -## use AI to draft commit messages +# use AI to draft commit messages aicommit injects a commit message draft written by RayAI before loading your default editor for review. -requires: jq +requires: cur, jq > aicommit_groq is broken. Don't use. -### use +## use -Change your +1. Clone the repo + +1. Add to your `~/.bashrc` ```bash export GIT_EDITOR="aicommit" ``` +1. Use git as normal. + ```bash git commit ``` + +Using the `-m` flag will bypass generating a message `git commit -m` diff --git a/test.txt b/test.txt new file mode 100644 index 0000000..484ba93 --- /dev/null +++ b/test.txt @@ -0,0 +1 @@ +This is a test.