opencommit 3.0.12 → 3.0.15
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 +9 -1
- package/out/cli.cjs +20022 -6884
- package/out/tiktoken_bg.wasm +0 -0
- package/package.json +13 -2
package/README.md
CHANGED
|
@@ -97,7 +97,7 @@ OCO_TOKENS_MAX_OUTPUT=<max response tokens (default: 500)>
|
|
|
97
97
|
OCO_OPENAI_BASE_PATH=<may be used to set proxy path to OpenAI api>
|
|
98
98
|
OCO_DESCRIPTION=<postface a message with ~3 sentences description of the changes>
|
|
99
99
|
OCO_EMOJI=<boolean, add GitMoji>
|
|
100
|
-
OCO_MODEL=<either 'gpt-4', 'gpt-3.5-turbo' (default), 'gpt-3.5-turbo-0125', 'gpt-4-1106-preview', 'gpt-4-turbo-preview' or 'gpt-4-0125-preview'>
|
|
100
|
+
OCO_MODEL=<either 'gpt-4', 'gpt-4-turbo', 'gpt-3.5-turbo' (default), 'gpt-3.5-turbo-0125', 'gpt-4-1106-preview', 'gpt-4-turbo-preview' or 'gpt-4-0125-preview'>
|
|
101
101
|
OCO_LANGUAGE=<locale, scroll to the bottom to see options>
|
|
102
102
|
OCO_MESSAGE_TEMPLATE_PLACEHOLDER=<message template placeholder, default: '$msg'>
|
|
103
103
|
OCO_PROMPT_MODULE=<either conventional-commit or @commitlint, default: conventional-commit>
|
|
@@ -169,6 +169,14 @@ oco config set OCO_LANGUAGE=française
|
|
|
169
169
|
The default language setting is **English**
|
|
170
170
|
All available languages are currently listed in the [i18n](https://github.com/di-sukharev/opencommit/tree/master/src/i18n) folder
|
|
171
171
|
|
|
172
|
+
### Push to git
|
|
173
|
+
|
|
174
|
+
Pushing to git is on by default but if you would like to turn it off just use:
|
|
175
|
+
|
|
176
|
+
```sh
|
|
177
|
+
oc config set OCO_GITPUSH=false
|
|
178
|
+
```
|
|
179
|
+
|
|
172
180
|
### Switch to `@commitlint`
|
|
173
181
|
|
|
174
182
|
OpenCommit allows you to choose the prompt module used to generate commit messages. By default, OpenCommit uses its conventional-commit message generator. However, you can switch to using the `@commitlint` prompt module if you prefer. This option lets you generate commit messages in respect with the local config.
|