Skip to content

Commit

Permalink
feat(prompts): update default prompt with GitMoji
Browse files Browse the repository at this point in the history
  • Loading branch information
Blarc committed Sep 25, 2024
1 parent 64ecdd2 commit be2fdf6
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,10 @@ enum class DefaultPrompts(val prompt: Prompt) {
Prompt(
"GitMoji",
"Prompt for generating commit messages with GitMoji.",
"Write concise commit message from 'git diff --staged' in format `[EMOJI] [TYPE](topic): " +
"description in {locale}`. Use GitMoji, present tense, max 120 chars.\n" +
"\n" +
"Write a concise commit message from 'git diff --staged' output in the format " +
"`[EMOJI] [TYPE](file/topic): [description in {locale}]`. Use GitMoji emojis (e.g., ✨ → feat), " +
"present tense, active voice, max 120 characters per line, no code blocks.\n" +
"---\n" +
"{diff}",
false
)
Expand Down

0 comments on commit be2fdf6

Please sign in to comment.