File tree Expand file tree Collapse file tree 1 file changed +15
-9
lines changed
Expand file tree Collapse file tree 1 file changed +15
-9
lines changed Original file line number Diff line number Diff 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
282282graph 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
309311graph 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)
You can’t perform that action at this time.
0 commit comments