Skip to content

Commit 8558696

Browse files
committed
Trying to fix mermaid diagram about fork
1 parent 348299d commit 8558696

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

docs/remotes.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -395,16 +395,17 @@ graph LR
395395
alicel -.- n1["cannot commit"]
396396
n1 -.-> bob
397397
398+
alicel -.- n2["can request pulls"]
399+
n2 -.-> bob
400+
398401
n1@{ shape: text}
399402
n2@{ shape: text}
400403
style n1 color:#D50000
401-
linkStyle 2 stroke:#D50000,fill:none
402-
```
403-
linkStyle 3 stroke:#D50000,fill:none
404-
```
405-
"Alice local" -> "Bob repo" [label="cannot commit" fontcolor=red color=red style=dashed]
406-
"Bob repo" -> "Alice fork" [label="forking"]
407-
"Alice local" -> "Bob repo" [label="can request pulls" fontcolor=blue color=blue style=dashed]
404+
linkStyle 3 stroke:#D50000,fill:none
405+
linkStyle 4 stroke:#D50000,fill:none
406+
style n2 color:#4169E1
407+
linkstyle 5 stroke:#4169E1,fill none
408+
linkstyle 6 stroke:#4169E1,fill none
408409
```
409410
In this way, Alice can push changes to her repository and eventually make Bob aware of them as well.
410411

0 commit comments

Comments
 (0)