Created
February 21, 2023 05:09
-
-
Save ryanbthomas/9cd1468be77b05212727da70f15d54e5 to your computer and use it in GitHub Desktop.
mermaid gitGraph
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
```{mermaid} | |
%%{init: { 'logLevel': 'debug', 'theme': 'base', 'gitGraph': {'showBranches': true, 'showCommitLabel':true,'mainBranchName': 'develop', 'mainBranchOrder': 2}} }%% | |
gitGraph | |
commit | |
branch main | |
checkout main | |
commit id: "A" | |
checkout develop | |
commit id: "B" | |
branch rt-add-feature order: 3 | |
checkout rt-add-feature | |
commit | |
commit | |
checkout main | |
branch rt-hotfix | |
checkout rt-hotfix | |
commit | |
commit | |
checkout main | |
merge rt-hotfix | |
checkout develop | |
merge main | |
checkout rt-add-feature | |
commit | |
checkout develop | |
merge rt-add-feature | |
checkout main | |
merge develop | |
checkout develop | |
branch rt-add-feature-2 order: 5 | |
checkout rt-add-feature-2 | |
commit | |
commit | |
checkout develop | |
merge rt-add-feature-2 | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment