Skip to content

Instantly share code, notes, and snippets.

@wfouche
Last active May 25, 2025 09:59
Show Gist options
  • Select an option

  • Save wfouche/9befa0f228840700b307f53bc3c11701 to your computer and use it in GitHub Desktop.

Select an option

Save wfouche/9befa0f228840700b307f53bc3c11701 to your computer and use it in GitHub Desktop.
Using PlantUML to represent a Git Workflow
@startuml
skinparam ParticipantPadding 50
participant "master" as dev
participant "v8" as s4
participant "v9" as s5
participant "v10" as s6
activate dev
hnote over dev : commit 1, tag: v8.0.0
hnote over dev : commit 2, tag: v8.0.1
hnote over dev : commit 3, tag: v8.0.2
dev -> s5 : Spring 5 branched off Master
activate s5
hnote over s5 : commit 4, tag: v9.0.0
hnote over s5 : commit 5, tag: v9.0.1
hnote over s5 : commit 6, tag: v9.0.2
hnote over dev : commit 7, tag: v8.1.0
hnote over dev : commit 8, tag: v8.1.1
hnote over dev : commit 9, tag: v8.1.2
dev -> s4 : Spring 4 branched off Master
destroy dev
activate s4
s5 -> dev: Spring 5 merged to Master
destroy s5
activate dev
hnote over s4 : commit 10, tag v8.2.0
hnote over s4 : commit 11, tag v8.2.1
hnote over dev : commit 12, tag: v9.1.0
hnote over dev : commit 13, tag: v9.1.1
dev -> s6 : Spring 6 branched off Master
hnote over dev : commit 14, tag: v9.1.2
@enduml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment