Skip to content

Instantly share code, notes, and snippets.

@reneweteling
Created February 9, 2023 07:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save reneweteling/e59bebb1a75b58efb714982f36c8b40d to your computer and use it in GitHub Desktop.
Save reneweteling/e59bebb1a75b58efb714982f36c8b40d to your computer and use it in GitHub Desktop.
Team Red gitflow graph

%%{init: { 'logLevel': 'debug', 'theme': 'base', 'gitGraph': {'showBranches': true, 'mainBranchName': 'master', 'rotateCommitLabel': false}} }%% gitGraph checkout master commit id: "initial"

    branch int
    %% checkout int
    branch uat
    %% checkout uat
    branch prd
    %% checkout prd
    
    checkout master
    branch feat/menu
    checkout feat/menu
    commit id: "feat/menu"
    
    checkout master
    branch feat/redirect
    checkout feat/redirect
    commit

    checkout master
    branch feat/login
    checkout feat/login
    commit

    checkout int
    merge feat/redirect
    merge feat/menu type: HIGHLIGHT tag: "Int gets teseted by QA"

    checkout master
    merge feat/redirect
    merge feat/menu
    merge uat type: HIGHLIGHT tag: "v1.1.0"

    checkout uat
    merge master type: HIGHLIGHT tag: "UAT gets teseted by QA"

    checkout prd
    merge uat tag: "v1.2.0"

    checkout master
    merge feat/login
    merge uat type: HIGHLIGHT tag: "v1.2.0"

    checkout uat
    merge master type: HIGHLIGHT tag: "UAT gets teseted by QA"

    checkout prd
    merge uat tag: "v1.2.0"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment