Skip to content

Commit 4595828

Browse files
committed
Merge branch 'master' into dev
2 parents 1d6980f + f793f01 commit 4595828

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
<div>
33
<img src=".github/logo-grad.svg" alt="OpenCommit logo"/>
44
<h1 align="center">OpenCommit</h1>
5-
<h4 align="center">Follow the bird <a href="https://twitter.com/io_Y_oi"><img src="https://img.shields.io/twitter/follow/io_Y_oi?style=flat&label=io_Y_oi&logo=twitter&color=0bf&logoColor=fff" align="center"></a>
5+
<h4 align="center">Follow the bird <a href="https://twitter.com/_sukharev_"><img src="https://img.shields.io/twitter/follow/_sukharev_?style=flat&label=_sukharev_&logo=twitter&color=0bf&logoColor=fff" align="center"></a>
66
</div>
77
<h2>Auto-generate meaningful commits in 1 second</h2>
88
<p>Killing lame commits with AI 🤯🔫</p>
99
<a href="https://www.npmjs.com/package/opencommit"><img src="https://img.shields.io/npm/v/opencommit" alt="Current version"></a>
10-
<h4 align="center"><a href="https://twitter.com/io_Y_oi/status/1683448136973582336">🪩 Winner of GitHub 2023 HACKATHON 🪩</a></h4>
10+
<h4 align="center"><a href="https://twitter.com/_sukharev_/status/1683448136973582336">🪩 Winner of GitHub 2023 HACKATHON 🪩</a></h4>
1111
</div>
1212

1313
---
@@ -57,6 +57,7 @@ oco
5757
```
5858

5959
You can also run it with local model through ollama:
60+
6061
- install and start ollama
6162
- run `ollama run mistral` (do this only once, to pull model)
6263
- run (in your project directory):
@@ -66,7 +67,6 @@ git add <files...>
6667
AI_PROVIDER='ollama' opencommit
6768
```
6869

69-
7070
## Configuration
7171

7272
### Local per repo configuration

src/commands/config.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -214,9 +214,7 @@ export const getConfig = (): ConfigType | null => {
214214

215215
config[configKey] = validValue;
216216
} catch (error) {
217-
outro(
218-
`'${configKey}' name is invalid, it should be either 'OCO_${configKey.toUpperCase()}' or it doesn't exist.`
219-
);
217+
outro(`Unknown '${configKey}' config option.`);
220218
outro(
221219
`Manually fix the '.env' file or global '~/.opencommit' config file.`
222220
);

0 commit comments

Comments
 (0)