git/gitgraph.md
2024-07-16 06:41:13 +00:00

28 lines
520 B
Markdown

# Gitgraph mit Mermaid
https://mermaid.js.org/syntax/gitgraph.html
## 3 Commits auf Main
```mermaid
gitGraph
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"
```