@@ -31,9 +31,9 @@ found that is generally what is needed when using GitFlow.
31
31
To see the effective configuration (defaults and overrides), you can run
32
32
` gitversion /showConfig ` .
33
33
34
- To create your config file just type ` gitversion init ` in your repo directory
35
- after installing via Chocolatey and a minimal ` GitVersion.yml ` configuration
36
- file will be created. Modify this to suit your needs.
34
+ To create your config file just type ` gitversion init ` in your repo directory,
35
+ after [ installing] . A minimal ` GitVersion.yml ` configuration file will be
36
+ created. Modify this to suit your needs.
37
37
38
38
## Global configuration
39
39
@@ -271,9 +271,9 @@ merge-message-formats:
271
271
272
272
The regular expression should contain the following capture groups :
273
273
274
- + SourceBranch - Identifies the source branch of the merge
275
- + TargetBranch - Identifies the target of the merge
276
- + PullRequestNumber - Captures the pull-request number
274
+ * ` SourceBranch` - Identifies the source branch of the merge
275
+ * ` TargetBranch` - Identifies the target branch of the merge
276
+ * ` PullRequestNumber` - Captures the pull-request number
277
277
278
278
Custom merge message formats are evaluated _before_ any built in formats.
279
279
@@ -412,16 +412,16 @@ Take this commit graph
412
412
413
413
By looking at this graph, you cannot tell which of these scenarios happened :
414
414
415
- + feature/foo branches off release/v1.0.0
416
- + Branch release/v1.0.0 from main
417
- + Branch feature/foo from release/v1.0.0
418
- + Add a commit to both release/v1.0.0 and feature/foo
419
- + release/v1.0.0 is the base for feature/foo
420
- + release/v1.0.0 branches off feature/foo
421
- + Branch feature/foo from main
422
- + Branch release/v1.0.0 from feature/foo
423
- + Add a commit to both release/v1.0.0 and feature/foo
424
- + feature/foo is the base for release/v1.0.0
415
+ * feature/foo branches off release/v1.0.0
416
+ * Branch release/v1.0.0 from main
417
+ * Branch feature/foo from release/v1.0.0
418
+ * Add a commit to both release/v1.0.0 and feature/foo
419
+ * release/v1.0.0 is the base for feature/foo
420
+ * release/v1.0.0 branches off feature/foo
421
+ * Branch feature/foo from main
422
+ * Branch release/v1.0.0 from feature/foo
423
+ * Add a commit to both release/v1.0.0 and feature/foo
424
+ * feature/foo is the base for release/v1.0.0
425
425
426
426
Or put more simply, you cannot tell which branch was created first,
427
427
` release/v1.0.0` or `feature/foo`.
@@ -544,7 +544,7 @@ Indicates this branch config represents a release branch in GitFlow.
544
544
# ## is-mainline
545
545
546
546
When using Mainline mode, this indicates that this branch is a mainline. By
547
- default * main* and * support* are mainlines.
547
+ default ` main` and ` support/*` are mainlines.
548
548
549
549
# ## pre-release-weight
550
550
@@ -563,6 +563,7 @@ and [1366].
563
563
[1145] : https://github.com/GitTools/GitVersion/issues/1145
564
564
[1366] : https://github.com/GitTools/GitVersion/issues/1366
565
565
[2506] : https://github.com/GitTools/GitVersion/pull/2506#issuecomment-754754037
566
+ [installing] : /docs/usage/cli/installation
566
567
[modes] : /docs/reference/modes
567
568
[variables] : /docs/reference/variables
568
569
[version-sources] : /docs/reference/version-sources
0 commit comments