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
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -98,6 +98,18 @@ is translated to :
98
98
git commit -m "${generatedMessage}" --no-verify
99
99
```
100
100
101
+
### Ignore files
102
+
You can ignore files from submission to OpenAI by creating a `.opencommitignore` file. For example:
103
+
104
+
```ignorelang
105
+
path/to/large-asset.zip
106
+
**/*.jpg
107
+
```
108
+
109
+
This is useful for preventing opencommit from uploading artifacts and large files.
110
+
111
+
By default, opencommit ignores files matching: `*-lock.*` and `*.lock`
112
+
101
113
## Git hook
102
114
103
115
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