@thankarezos/git-ai-commit 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -125,7 +125,7 @@ CLIs that write to stdout (e.g. `claude`) don't need this and run without any wi
|
|
|
125
125
|
|
|
126
126
|
## Customizing the prompt
|
|
127
127
|
|
|
128
|
-
|
|
128
|
+
`git aic --init` copies the prompt template, the `<commit_message>` tag, and the cleanup patterns into your **config file** (run `git aic --config` to see its path and contents). Edit the config file to customize them — these values override the built-in defaults:
|
|
129
129
|
|
|
130
130
|
- Change tone, rules, or allowed Conventional Commit types in `prompt`.
|
|
131
131
|
- Add line patterns to `removeLinesMatching` to strip more AI boilerplate.
|
|
@@ -133,6 +133,8 @@ The base prompt template, the `<commit_message>` tag, and the cleanup patterns l
|
|
|
133
133
|
|
|
134
134
|
Patterns are case-insensitive JS regex strings.
|
|
135
135
|
|
|
136
|
+
The built-in defaults live in `bin/prompts.json`; editing that only changes the fallback for fields your config doesn't set, and is overwritten on reinstall — so prefer the config file.
|
|
137
|
+
|
|
136
138
|
## Tests
|
|
137
139
|
|
|
138
140
|
```sh
|