**Describe the bug** Our config file looks like this: ``` branches: main: mode: ContinuousDeployment develop: mode: ContinuousDeployment tag: "alpha" ``` Imagine that we have the following tree: <img width="254" alt="image" src="https://github.com/GitTools/GitVersion/assets/2727326/15339be9-86d7-47ca-b14c-06c74d7604cb"> When I run `dotnet-gitversion | jq '.FullSemVer'` on `develop`, I get the correct version: `2.0.0-alpha.1` But after I merge `main` to `develop`, I get the wrong version calculated: <img width="319" alt="image" src="https://github.com/GitTools/GitVersion/assets/2727326/cd2ef1bb-a2ff-4773-bd92-ba5fdf30a966"> `1.1.0-alpha.3` ## Expected Behavior I expect gitversion to respect commits from `develop` branch and calculate version `2.0.0-apha.X` ## Actual Behavior Commits from `develop` are ignored, gitversion calculates the version from the last tag, which in this case is in the "sub-branch" of `develop` ## Context We have to apply an empty `+semver:major` commit every time `main` is merged back to `develop`. ## Your Environment - Version Used: `5.12`, and `6.0.0-bet.3` - Operating System and version (Windows 10, Ubuntu 18.04): Windows and MacOS