generated from Comenius-Institut/Vorlage-OER-Communities
add-glossar #9
34
gitgraph.md
34
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