Skip to content

Commit 4e28ef7

Browse files
committed
feat: improve commit message instructions
1 parent d597696 commit 4e28ef7

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

cmd/main.go

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,11 @@ Commit message template:
3535
* remove articles if necessary
3636
* Do not include a period at the end of the sentence
3737
* MUST write *only* one-line commit message
38-
* If part of the commit message is already written, continue from where it left off (and prefer follow the commit message template if possible)
39-
* Ensure double quotes are used for strings in the commit message`
38+
* If part of the commit message is already written, continue from where it left off
39+
* Should follow the commit message template if possible
40+
* Follow the maximum specified length, but don't force the sentence to be longer—keep it concise and clear.
41+
* Include the initial part of the input provided by the user as-is as much as possible, and return the full complete command with it.
42+
* Ensure double quotes or single quotes are used for strings in the commit message`
4043
defaultCommitMessageTemplate = "feat|fix|chore|refactor|test|style|docs|...: some message"
4144
)
4245

0 commit comments

Comments
 (0)