Skip to content

Commit 670b017

Browse files
committed
cursor: add command /commit
1 parent df7e211 commit 670b017

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.cursor/commands/commit.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# commit
2+
3+
`/commit [message]` is a command to commit the changes to the repo.
4+
5+
It will commit the changes to the repo with the message "commit message".
6+
If no message is provided, it will call `git diff --cached` to get the changes, then summarize them into a message.
7+
8+
This command will be available in chat with /commit

0 commit comments

Comments
 (0)