BranchConfig Class

Assembly
GitVersion.Core.dll
Namespace
GitVersion.Model.Configuration
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["BranchConfig"] class Type type-node

Syntax

public class BranchConfig

Attributes

Type Description
NullableContextAttribute
NullableAttribute

Constructors

Name Summary
BranchConfig()
BranchConfig(BranchConfig) Creates a clone of the given branchConfiguration.

Properties

Name Value Summary
CommitMessageIncrementing Nullable<CommitMessageIncrementMode>
Increment Nullable<IncrementStrategy>
IsMainline Nullable<bool>
IsReleaseBranch Nullable<bool>
IsSourceBranchFor HashSet<string>
Name string
The name given to this configuration in the config file.
PreReleaseWeight Nullable<int>
PreventIncrementOfMergedBranchVersion Nullable<bool>
Regex string
SourceBranches HashSet<string>
Tag string
Special value 'useBranchName' will extract the tag from the branch name
TagNumberPattern string
TrackMergeTarget Nullable<bool>
TracksReleaseBranches Nullable<bool>
VersioningMode Nullable<VersioningMode>

Methods

Extension Methods

Name Value Summary
GetProperties() IEnumerable<KeyValuePair<string, string>>
NotNull<BranchConfig>(string) T