Skip to content

Commit 0419f97

Browse files
committed
Trying to get the order correct in the mermaid diagram
1 parent f121a21 commit 0419f97

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

docs/branches.md

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ graph LR
276276

277277
---
278278

279-
Merge 'cool-feature' to 'master'
279+
Merge 'cool-feature' to 'master' (3-way merge)
280280

281281
```mermaid
282282
graph LR
@@ -292,14 +292,16 @@ graph LR
292292
commitY(["commitY"])
293293
commit3(["commit3"])
294294
commit4(["commit4"])
295+
commit4Y(["New merge commit"])
295296
296297
master -.-> commit4
297298
commit4 --> commit3
298-
commit4 --> commitY
299+
commit4 --> commit4Y
299300
cool-feature -.-> commitY
300301
commit3 --> commit2
301302
commit2 --> commit1
302303
commitY --> commitX
304+
commitY --> commit4Y
303305
commitX --> commit1
304306
```
305307

@@ -308,21 +310,25 @@ Delete 'cool-feature'
308310
```mermaid
309311
graph LR
310312
313+
master["master"]
314+
style master fill:#ffffff,stroke:#ffffff
315+
311316
commitX(["commitX"])
312317
commit1(["commit1"])
313318
commit2(["commit2"])
314319
commitY(["commitY"])
315320
commit3(["commit3"])
321+
commit4(["commit4"])
322+
commit4Y(["New merge commit"])
316323
317-
commit2 --> commit1
318-
commitX --> commit1
324+
master -.-> commit4
325+
commit4 --> commit3
326+
commit4 --> commit4Y
319327
commit3 --> commit2
328+
commit2 --> commit1
320329
commitY --> commitX
321-
322-
master["master"]
323-
master -.-> commit4
324-
commit4 --> commit3
325-
commit4 --> commitY
330+
commitY --> commit4Y
331+
commitX --> commit1
326332
```
327333

328334
(Time goes leftwards)

0 commit comments

Comments
 (0)