Skip to content

Commit a76fdbe

Browse files
committed
docs: revise examples to use --no_confirm option for commit messages
- Update example commands to use the --no_confirm option instead of --preview - Revise example descriptions to indicate that commit messages are generated without confirmation - Add --no_confirm to the Chinese commit message example Signed-off-by: appleboy <[email protected]>
1 parent 23d1e76 commit a76fdbe

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

skills/commit-helper/SKILL.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,20 +121,20 @@ output:
121121
122122
## Examples
123123
124-
### Example 1: Basic commit with preview
124+
### Example 1: Basic commit without preview
125125
126126
```bash
127127
# Stage your changes
128128
git add .
129129

130-
# Generate and preview commit message
131-
codegpt commit --preview
130+
# Generate commit message without confirmation
131+
codegpt commit --no_confirm
132132
```
133133

134134
### Example 2: Chinese commit message
135135

136136
```bash
137-
codegpt commit --lang zh-tw --model gpt-4o
137+
codegpt commit --lang zh-tw --model gpt-4o --no_confirm
138138
```
139139

140140
### Example 3: Custom template

0 commit comments

Comments
 (0)