Skip to content

Instantly share code, notes, and snippets.

@medeirosinacio
Last active January 6, 2023 13:41
Show Gist options
  • Save medeirosinacio/78dd9a8237f500c3914c1523694fcb8d to your computer and use it in GitHub Desktop.
Save medeirosinacio/78dd9a8237f500c3914c1523694fcb8d to your computer and use it in GitHub Desktop.
Git Flow Diagram in Mermaid
%%{init: { 'logLevel': 'debug', 'gitGraph': {'showCommitLabel': false}} }%%
gitGraph
    commit tag: "release 0.0"
    branch hotfix
    branch develop
    checkout develop
    commit
    branch feature/FIPO-236
    commit
    checkout develop
    commit
    branch feature/FIPO-463
    commit
    checkout develop
    merge feature/FIPO-463
    checkout feature/FIPO-236
    commit id: "add"
    checkout hotfix
    commit
    checkout main
    merge hotfix tag: "release 0.0.1"
    checkout develop
    merge feature/FIPO-236
    merge hotfix
    checkout main
    merge develop tag: "release 0.1"
    checkout develop
    commit
    commit
    branch feature/FIPO-741
    commit
    commit
    commit
    checkout develop
    merge feature/FIPO-741
    commit
    commit
    commit
    checkout main
    merge develop tag: "release 0.2"
    commit
    commit
Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment