Fix example for Git diagrams

This commit is contained in:
Mason Malone
2022-11-19 13:20:12 -08:00
parent 1b201bf462
commit bdf8b01185
2 changed files with 42 additions and 42 deletions

View File

@@ -13,37 +13,37 @@ These kind of diagram are particularly helpful to developers and devops teams to
Mermaid can render Git diagrams Mermaid can render Git diagrams
```mermaid-example ```mermaid-example
--- ---
title: Example Git diagram title: Example Git diagram
--- ---
gitGraph gitGraph
commit commit
commit commit
branch develop branch develop
checkout develop checkout develop
commit commit
commit commit
checkout main checkout main
merge develop merge develop
commit commit
commit commit
``` ```
```mermaid ```mermaid
--- ---
title: Example Git diagram title: Example Git diagram
--- ---
gitGraph gitGraph
commit commit
commit commit
branch develop branch develop
checkout develop checkout develop
commit commit
commit commit
checkout main checkout main
merge develop merge develop
commit commit
commit commit
``` ```
In Mermaid, we support the basic git operations like: In Mermaid, we support the basic git operations like:

View File

@@ -7,20 +7,20 @@ These kind of diagram are particularly helpful to developers and devops teams to
Mermaid can render Git diagrams Mermaid can render Git diagrams
```mermaid-example ```mermaid-example
--- ---
title: Example Git diagram title: Example Git diagram
--- ---
gitGraph gitGraph
commit commit
commit commit
branch develop branch develop
checkout develop checkout develop
commit commit
commit commit
checkout main checkout main
merge develop merge develop
commit commit
commit commit
``` ```
In Mermaid, we support the basic git operations like: In Mermaid, we support the basic git operations like: