generated from Comenius-Institut/Vorlage-OER-Communities
gitgraph.md aktualisiert
This commit is contained in:
parent
08467dbe0b
commit
f2825a1b41
36
gitgraph.md
36
gitgraph.md
|
@ -1,14 +1,28 @@
|
||||||
|
# Gitgraph mit Mermaid
|
||||||
|
|
||||||
|
https://mermaid.js.org/syntax/gitgraph.html
|
||||||
|
|
||||||
|
## 3 Commits auf Main
|
||||||
```mermaid
|
```mermaid
|
||||||
gitGraph
|
gitGraph
|
||||||
commit
|
commit id: "1. Commit"
|
||||||
commit
|
commit id: "2. Commit"
|
||||||
branch develop
|
commit id: "3. Commit"
|
||||||
checkout develop
|
|
||||||
commit
|
```
|
||||||
commit
|
|
||||||
checkout main
|
## Branch Entwicklung
|
||||||
merge develop
|
```mermaid
|
||||||
commit
|
gitGraph
|
||||||
commit
|
commit id: "1. Commit"
|
||||||
|
commit id: "2. Commit"
|
||||||
|
branch Entwicklung
|
||||||
|
checkout Entwicklung
|
||||||
|
commit id: "3. Commit"
|
||||||
|
commit id: "4. Commit"
|
||||||
|
checkout main
|
||||||
|
merge Entwicklung id: "Merge Request"
|
||||||
|
commit id: "Merge Commit"
|
||||||
|
commit id: "5. Commit"
|
||||||
|
|
||||||
```
|
```
|
Loading…
Reference in a new issue