Skip to content

Commit 45c2c5a

Browse files
chore: added the new feature in readme
1 parent 552b91f commit 45c2c5a

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,27 @@ lazycommit --type conventional # or -t conventional
101101

102102
This feature can be useful if your project follows the Conventional Commits standard or if you're using tools that rely on this commit format.
103103

104+
#### Review, edit, and confirm messages
105+
106+
Lazycommit now lets you review the generated message, optionally edit it, and then confirm before it is committed.
107+
108+
- **Single commit**:
109+
- You’ll see a menu: Use as-is, Edit, or Cancel
110+
- If you choose Edit, you can modify the message; then you’ll be asked to confirm the final message before committing
111+
- **Multi-commit**:
112+
- For each group, you can optionally edit the message
113+
- You will then be asked to confirm the final message for that group before it commits
114+
115+
Example (single commit):
116+
117+
```sh
118+
git add .
119+
lazycommit
120+
# Review generated commit message:
121+
# feat: Add lazycommit command
122+
# → Choose "Edit" to modify, then confirm the final message before commit
123+
```
124+
104125
#### Exclude files from analysis
105126

106127
You can exclude specific files from AI analysis using the `--exclude` flag:

0 commit comments

Comments
 (0)