Section 4.3 Verifying the Upstream Remote
Like the last activity, you will be working within the KitClient for this activity.
Exercises
1.
2.
(a)
The git remote -v
command lists the names and URLs of all of the remote repositories (or just remotes for short) that your local repo knows about. Run this command in the directory that contains your local repository.
(b)
Confirm that upstream
points to the upstream project on GitHub. How did you confirm it?
(c)
The upstream remote provides your local repo with the information it needs to find the upstream repo. In git this information is represented using a URL. How is this information represented in
Figure 4.1.1?
It is labeled as "origin".
-
It is labeled as "upstream".
Correct! The diagram shows your upstream remote on the top right side with the label "upstream".
It is labeled as "local".
-
It is labeled as "feature branch".
-
Hint.
When you issued the git remote -v
command pay attention to the name given to second set of fetch and pull URLs.
You have attempted
of
activities on this page.