Skip to content
Discussion options

You must be logged in to vote

$ mkdir A-TrunkBased-Repo
$ cd A-TrunkBased-Repo/
$ git init .
$ echo workflow: TrunkBased/preview1 > GitVersion.yml
$ git add *
$ git commit -m "init"
$ git switch -c unkown-branch
$ git commit --allow-empty -m "A"
$ git switch main
$ git merge unkown-branch --no-ff (+semver:minor added in vim)

$ git log

commit 88dc03c26440cfc15d1866627df0d2c638995de9 (HEAD -> main)
Merge: 5430682 571e6d4
Author: HHobeck <HHobeck@gmail.com>
Date:   Tue Mar 3 14:30:44 2026 +0100

    Merge branch 'unkown-branch' +semver:minor

commit 54306820cc88912a282c538fbf28c4d84e8b24b0
Author: HHobeck <HHobeck@gmail.com>
Date:   Tue Mar 3 14:30:24 2026 +0100

    init

commit 571e6d48277d57b4a71f10cef85333313023252d …

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@talbertine
Comment options

@talbertine
Comment options

@HHobeck
Comment options

Answer selected by talbertine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants