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
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -84,6 +84,20 @@ To remove description:
84
84
oc config set description=false
85
85
```
86
86
87
+
### Git flags
88
+
89
+
The `opencommit` or `oc` commands can be used in place of the `git commit -m "${generatedMessage}"` command. This means that any regular flags that are used with the `git commit` command will also be applied when using `opencommit` or `oc`.
90
+
91
+
```sh
92
+
oc --no-verify
93
+
```
94
+
95
+
is translated to :
96
+
97
+
```sh
98
+
git commit -m "${generatedMessage}" --no-verify
99
+
```
100
+
87
101
## Git hook
88
102
89
103
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