diff --git a/source/ch-staying-synchronized/sec-lets-do-it-again.ptx b/source/ch-staying-synchronized/sec-lets-do-it-again.ptx index 1ccc8ff..487cd4e 100644 --- a/source/ch-staying-synchronized/sec-lets-do-it-again.ptx +++ b/source/ch-staying-synchronized/sec-lets-do-it-again.ptx @@ -170,7 +170,7 @@
Pick one of the “Round2” issues to work on and make a comment on it to indicate your interest in working on it. - Note it is not necessary that the issue be assigned to you this time. + Note it is not necessary that the issue be assigned to you this time as it was in Round1. Try to spread out across the issues so that multiple people have commented that they are working on each one.
@@ -274,7 +274,7 @@
- When creating branches you should always use name that describes what is being done in the branch, without being too long. This will help you to remember the purpose of the branch, but not make it onerous to type.
+ When creating branches you should always use a name that describes what is being done in the branch, without being too long. This will help you to remember the purpose of the branch, but not make it onerous to type.
Which of the following would be the best name for a feature branch for issue #37 that adds a link to the NSF award in the Acknowledgements section?
diff --git a/source/ch-staying-synchronized/sec-verifying-the-upstream-remote.ptx b/source/ch-staying-synchronized/sec-verifying-the-upstream-remote.ptx
index 8a280da..cff9286 100644
--- a/source/ch-staying-synchronized/sec-verifying-the-upstream-remote.ptx
+++ b/source/ch-staying-synchronized/sec-verifying-the-upstream-remote.ptx
@@ -1,18 +1,18 @@
- Before you will be able to pull changes from the upstream you will need to tell your local repository where the upstream is.
+ Before you will be able to pull changes from the upstream your local repository will need to know where to find the upstream repository.
In earlier figures (e.g.
- In
- Examine the output of the
- Where does the URL for the origin remote point?
+ Where does the URL associated with the origin remote point?
- Look at the part of the origin remote's URL that comes after `github.com`. This part indicates where on GitHub the repository is located. Is it in your GitHub space?
+ Look at the part of the origin remote's URL that comes after `github.com`. This part indicates where on GitHub the repository is located.
- What in
- The dotted orange arrow on the left that points from your local repository to the origin.
+ It points to the GitKit FarmData2 repository that your instructor created for the course.
- Correct.
+ The repository that your instructor create is serving as the upstream repository.
- The dotted orange arrow at the top that points from your origin repository to the upstream.
+ It points to your copy of the GitKit FarmData2 repository that you forked from the upstream.
- The arrow at the top represents a Git remote associated with your origin repository, not your local repository.
+ Correct! The origin is your fork that is contained in your GitHub space.
- The blue cylinder at the top left of the figure.
+ It points to the repository for the live FarmData2 project.
- The blue cylinders represent remote repositories. This question is asking about the Git remote.
+ That repository would be the upstream if you were working on the live project.
- Look at the diagram again. The origin Git remote will be associated with your local repo and will indicate where the origin repository is located.
+ Look at the part of the origin remote's URL that comes after `github.com`. This part indicates where on GitHub the repository is located.
- Notice that the output from the
- The exercises in this section will walk you through the process of setting the upstream remote.
-
- Use your browser to navigate to the GitHub page for the upstream Gitkit FarmData2 repo that you are using for this course. Hint: You can find the GitHub page for the upstream using the "forked from:" link at the top of the GitHub page for your origin repository.
-
- Once you find the GitHub page for the upstream, you can get its URL by clicking the “Code” button and using the "Local" tab. This URL will end in
- Enter the URL of the upstream GitKit FarmData2 you are using for your course below.
-
-
-
- Looks good! But just to be sure, double check that this URL agrees with the one you gave in
- Be sure you are copying the URL of the upstream for your class as given by your instructor.
-
+ The remotes you just examined with
- The
- The format for this command is:
- Give a command that will create a new Git remote named upstream that points to the GitKit FarmData2 upstream repository that you are using for this course.
-
-
-
+ How is the origin Git remote associated with your local repository represented in the figure?
+
- Looks good! But just to be sure, double check that the URL you used agrees with the one you gave in
- Double check the format of your command and the URL that you are using.
+ Correct.
- Use the
- Two lines beginning with origin and giving the URL of the upstream repository.
+ The dotted orange arrow at the top that points from your origin repository to the upstream.
- The lines beginning with
- Two lines beginning with upstream and giving the URL of the upstream repository.
+ The blue cylinder at the top left of the figure.
- Correct! The URL of the upstream is where you will be pulling changes from.
+ The blue cylinders represent remote repositories. This question is asking about the Git remote.
+ The blue cylinder at the top right of the figure.
+
- One of the above answers is correct.
+ The blue cylinders represent remote repositories. This question is asking about the Git remote.
- Think about the different between origin vs.
- upstream.
+ Look at the diagram again. The origin Git remote will be associated with your local repo and will indicate where the origin repository is located.
- You just added the upstream Git remote to your local repository. How is this Git remote represented in
+ The blue cylinder at the top left of the figure. +
++ The blue cylinders represent remote repositories. This question is asking about the Git remote. +
+@@ -379,12 +323,74 @@ Look at the diagram again. The upstream Git remote will be associated with your local repo and will indicate where the upstream repository is located.
+ + + +
+ As you saw in
+ Not all development environments are able to automatically set the upstream remote when you open your local repository. The exercises in this section will walk you through how you can manually set the upstream remote if you need to. +
+
+ The
+ The format for this command is:
+ Give a command that will create a new Git remote named upstream that points to the GitKit FarmData2 upstream repository that you are using for this course. +
++ +
+
+ Looks good! But just to be sure, double check that the URL you used agrees with the one you gave in
+ Double check the format of your command and the URL that you are using. +
+
+ The URL of the upstream for your class was given by your instructor and should be in
+ Note that if you are using a development environment that does not automatically set the upstream remote for you, you will still only need to set it once. Once the upstream remote is set for a repository you will be able to pull from the upstream repo as often as is necessary. +
- Note that you will only need to set the upstream remote once for a repository. - Once the upstream remote is set you will be able to pull from the upstream repo as often as is necessary. + It is also worth mention that there is nothing particularly special about the names of the remotes. The names origin and upstream are used by convention by most developers. However, you could name your remotes anything you like and they would still work.