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: docs/features/generate-commit-message.mdx
+7-4Lines changed: 7 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,19 +3,22 @@ title: Generate Commit Message
3
3
sidebar_position: 5
4
4
---
5
5
6
-
Code Web Chat's Generate Commit Message feature automatically creates meaningful commit messages. This saves you time and ensures your commit history remains descriptive and consistent.
6
+
Generate meaningful commit messages precisely adhering to your preffered style.
7
7
8
8
## API message structure
9
9
10
10
```
11
+
[INSTRUCTIONS]
11
12
<files>
12
13
<file path="...">...</file>
13
-
// other affected files...
14
+
// other affected files
14
15
</files>
15
-
Write a brief and precise summary for the following diff, limited to a single sentence if possible and nothing else. Use an imperative tone to ensure clarity and focus on the primary change or purpose.
16
-
[DIFF OF CHANGES]
16
+
[DIFFS]
17
+
[INSTRUCTIONS]
17
18
```
18
19
20
+
**Default instructions:** Write a brief and precise summary for the changes, limited to a single sentence if possible and nothing else. Use an imperative tone to ensure clarity and focus on the primary change or purpose.
21
+
19
22
## Settings
20
23
21
24
##### `Code Web Chat: Commit Message Instructions`
0 commit comments