Version calculation

These settings affect which version is selected and how it is incremented. Review them with the calculation overview.

Setting Detailed reference
strategies strategies
next-version next-version
tag-prefix tag-prefix
version-in-branch-pattern version-in-branch-pattern
semantic-version-format semantic-version-format
commit-message-incrementing commit-message-incrementing
major-version-bump-message major-version-bump-message
minor-version-bump-message minor-version-bump-message
patch-version-bump-message patch-version-bump-message
no-bump-message no-bump-message
version-bump-reset-message version-bump-reset-message
merge-message-formats merge-message-formats
ignore ignore

Defaults can depend on the selected workflow and branch. The linked reference supplies accepted values, scope, and examples. Inspect the effective result with dotnet-gitversion --show-config.

All settings · Complete configuration reference