issues/27: fix mermaid git-flow diagram

This commit is contained in:
Valery Petrov
2026-05-28 19:28:03 +03:00
parent 11348a4e35
commit 1d4eb9c60b
+10 -14
View File
@@ -25,20 +25,16 @@
**Правило:** feature-ветки **всегда** ответвляются от `prod`, не от `test` и не от `stage`. **Правило:** feature-ветки **всегда** ответвляются от `prod`, не от `test` и не от `stage`.
```mermaid ```mermaid
gitGraph flowchart TB
commit id: "prod baseline" prod([prod])
branch test test([test])
branch stage stage([stage])
checkout prod feat[feature/TASK-123]
branch feature/TASK-123
commit id: "implement" prod -->|ветка от prod| feat
checkout test feat -->|PR merge| test
merge feature/TASK-123 id: "PR → test" feat -->|PR merge — не test| stage
checkout feature/TASK-123 stage -->|release PR| prod
checkout stage
merge feature/TASK-123 id: "PR → stage (NOT test!)"
checkout prod
merge stage id: "release: stage → prod"
``` ```
### ⚠️ Частая ошибка ### ⚠️ Частая ошибка