You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,15 +20,15 @@ All the commits in this repo are done with OpenCommit — look into [the commits
20
20
21
21
## Setup
22
22
23
-
1. Install opencommit globally to use in any repository:
23
+
1. Install OpenCommit globally to use in any repository:
24
24
25
25
```sh
26
26
npm install -g opencommit
27
27
```
28
28
29
29
2. Get your API key from [OpenAI](https://platform.openai.com/account/api-keys). Make sure you add payment details, so API works.
30
30
31
-
3. Set the key to opencommit config:
31
+
3. Set the key to OpenCommit config:
32
32
33
33
```sh
34
34
opencommit config set OPENAI_API_KEY=<your_api_key>
@@ -38,7 +38,7 @@ All the commits in this repo are done with OpenCommit — look into [the commits
38
38
39
39
## Usage
40
40
41
-
You can call `opencommit` directly to generate a commit message for your staged changes:
41
+
You can call OpenCommit directly to generate a commit message for your staged changes:
42
42
43
43
```sh
44
44
git add <files...>
@@ -86,7 +86,7 @@ oc config set description=false
86
86
87
87
## Git hook
88
88
89
-
You can set opencommit as Git [`prepare-commit-msg`](https://git-scm.com/docs/githooks#_prepare_commit_msg) hook. Hook integrates with you IDE Source Control and allows you edit the message before commit.
89
+
You can set OpenCommit as Git [`prepare-commit-msg`](https://git-scm.com/docs/githooks#_prepare_commit_msg) hook. Hook integrates with you IDE Source Control and allows you edit the message before commit.
0 commit comments