File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -385,7 +385,7 @@ Then, Alice will see the forked repository on her user space:
385385Alice can then add the forked repository where she can * push* push changes:
386386
387387``` java
388- $ git remote add git@github . com: aliceuser2020/ my- first- project. git
388+ $ git remote add origin git@github . com: aliceuser2020/ my- first- project. git
389389
390390$ git remote - v
391391origin git@github . com: aliceuser2020/ my- first- project. git (fetch)
@@ -396,7 +396,7 @@ How does she add the upstream remote?
396396
397397
398398``` java
399- $ git remote add upstream git@github . com: bob / my- first- project. git
399+ $ git remote add upstream git@github . com: bobuser2020 / my- first- project. git
400400
401401$ git remote - v
402402origin git@github . com: aliceuser2020/ my- first- project. git (fetch)
@@ -410,7 +410,8 @@ upstream git@github.com:bobuser2020/my-first-project.git (push)
410410
411411
412412``` java
413- $git graph
413+ $ git fetch upstream master
414+ $ git graph
414415* 2e56d0a (HEAD - > main, upstream/ main, origin/ main, origin/ HEAD ) text of exercise git diff usage
415416* 22a7316 Adding yet more lectures
416417* 0ddb791 Adding some more of the lectures
You can’t perform that action at this time.
0 commit comments