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
|
||||
gitGraph
|
||||
commit
|
||||
commit
|
||||
branch develop
|
||||
checkout develop
|
||||
commit
|
||||
commit
|
||||
checkout main
|
||||
merge develop
|
||||
commit
|
||||
commit
|
||||
commit id: "1. Commit"
|
||||
commit id: "2. Commit"
|
||||
commit id: "3. Commit"
|
||||
|
||||
```
|
||||
|
||||
## Branch Entwicklung
|
||||
```mermaid
|
||||
gitGraph
|
||||
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