issues/27: fix mermaid git-flow diagram
This commit is contained in:
@@ -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"
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### ⚠️ Частая ошибка
|
### ⚠️ Частая ошибка
|
||||||
|
|||||||
Reference in New Issue
Block a user