Skip to content

Commit 42f8bc9

Browse files
committed
chore(gen-commit-msg): add history examples section
Display user's history commit messages when available in the commit message template
1 parent 90f978f commit 42f8bc9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

core/src/main/resources/genius/en/practises/gen-commit-msg.vm

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@ Follow the Conventional Commits specification, examples:
1212
- test(java): fix test case for user controller
1313
- docs(architecture): add architecture diagram to home page
1414

15+
16+
#if( $context.historyExamples.length() > 0 )
17+
Here are user's history commit messages:
18+
<history>
19+
$context.historyExamples
20+
</history>
21+
#end
22+
1523
#if($context.originText.length() > 0)
1624
User origin intention was: $context.originText
1725
#end

0 commit comments

Comments
 (0)