mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-14 12:59:46 +02:00
Fix example for Git diagrams
This commit is contained in:
@@ -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:
|
||||||
|
@@ -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:
|
||||||
|
Reference in New Issue
Block a user