File tree Expand file tree Collapse file tree 1 file changed +8
-20
lines changed Expand file tree Collapse file tree 1 file changed +8
-20
lines changed Original file line number Diff line number Diff line change @@ -382,29 +382,17 @@ Then, Alice will see the forked repository on her user space:
382382
383383---
384384
385- How do we add the upstream remote?
385+ Alice can then add the forked repository where she can * push * push changes:
386386
387- ``` mermaid
388- graph TD
389-
390- bob{"Bob's repo"}
391- origin["origin"]
392- style origin fill:#ffffff,stroke:#ffffff,color:#ff0000
393- upstream["upstream"]
394- style upstream fill:#ffffff,stroke:#ffffff,color:#ff0000
395- upstream -.-> bob
396- origin -.-> alicef
397-
398- alicef(["Alice fork"])
399- alicel(["Alice local"])
400-
401- bob --> alicef
402-
403- alicef --> alicel
404- alicel -.-> bob
387+ ``` java
388+ $ git remote add git@github . com: aliceuser2020/ my- first- project. git
389+
390+ $ git remote - v
391+ origin git@github . com: aliceuser2020/ my- first- project. git (fetch)
392+ origin git@github . com: aliceuser2020/ my- first- project. git (push)
405393```
406394
407- ---
395+ How does she add the upstream remote?
408396
409397
410398``` java
You can’t perform that action at this time.
0 commit comments