- Namespace
-
GitVersion
.Model .Configuration - Base Types
-
- object
graph BT Type-->Base0["object"] Type["BranchConfig"]
class Type type-node
Syntax
public class BranchConfig
Constructors
| Name | Summary |
|---|---|
|
BranchConfig |
|
|
BranchConfig |
Creates a clone of the given branchConfiguration. |
Properties
| Name | Value | Summary |
|---|---|---|
|
Commit |
Commit |
|
| Increment | IncrementStrategy? | |
| IsMainline | bool? | |
| IsReleaseBranch | bool? | |
| IsSourceBranchFor | HashSet |
|
| Name | string |
The name given to this configuration in the config file.
|
| PreReleaseWeight | int? | |
|
Prevent |
bool? | |
| Regex | string | |
| SourceBranches | HashSet |
|
| Tag | string |
Special value 'useBranchName' will extract the tag from
the branch name
|
| TagNumberPattern | string | |
| TrackMergeTarget | bool? | |
|
Tracks |
bool? | |
| VersioningMode | VersioningMode? |
Methods
| Name | Value | Summary |
|---|---|---|
|
Apply |
BranchConfig | |
|
Create |
BranchConfig |
static
|
|
MergeTo |
void |
Extension Methods
| Name | Value | Summary |
|---|---|---|
|
GetProperties |
IEnumerable |
From
ObjectExtensions
|
|
NotNull |
T |
From
CommonExtensions
|