Skip to content

Instantly share code, notes, and snippets.

@cristobal-io
Last active May 23, 2023 08:41
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 cristobal-io/b2ae76ef56a25c89636926613eb57097 to your computer and use it in GitHub Desktop.
Save cristobal-io/b2ae76ef56a25c89636926613eb57097 to your computer and use it in GitHub Desktop.
Mermaid Git Workflow

From Mermaid

%%{init: { 'logLevel': 'debug', 'theme': 'base', 'gitGraph': { 'showBranches': true, 'showCommitLabel': false,'mainBranchName': 'develop'}} }%%

gitGraph:
  checkout develop
  commit
  branch hotfix/1.0.1
  checkout hotfix/1.0.1
  commit
  branch feature/PSEP-001
  checkout feature/PSEP-001
  commit
  commit
  checkout hotfix/1.0.1
  merge feature/PSEP-001
  commit
  commit
  branch bugfix/PSEP-002
  checkout bugfix/PSEP-002
  commit
  commit
  checkout hotfix/1.0.1
  merge bugfix/PSEP-002
  commit
  checkout hotfix/1.0.1
  checkout develop
  merge hotfix/1.0.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment