Skip to content

Commit ee25056

Browse files
committed
Add note about preserving whitespaces in commitMessagePrefix
1 parent c6facf6 commit ee25056

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ Maven properties can be used in commit messages. For example `<featureStartMessa
191191

192192
Note that although `${project.version}` can be used, any changes to version introduced by this goal won't be reflected in a commit message for this goal (see Custom properties).
193193

194-
Commit messages can be prefixed by using `commitMessagePrefix` parameter.
194+
Commit messages can be prefixed by using `commitMessagePrefix` parameter. Leading or trailing whitespaces can be preserved by using `xml:space="preserve"` attribute e.g. `<commitMessagePrefix xml:space="preserve">[gitflow] </commitMessagePrefix>`.
195195

196196
### Custom properties in commit messages
197197

0 commit comments

Comments
 (0)