File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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---
5757```
5858
5959You 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...>
6667AI_PROVIDER=' ollama' opencommit
6768```
6869
69-
7070## Configuration
7171
7272### Local per repo configuration
Original file line number Diff line number Diff 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 ) ;
You can’t perform that action at this time.
0 commit comments