You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: content/03-collaborative_github_basics/12-pull-upstream-changes.en.md
+6-10
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Pulling Upstream Changes
3
3
weight: 12
4
4
---
5
5
6
-
Now that everyone has contributed to the [**RSE-Sheffield** repository](https://github.com/RSE-Sheffield/collaborative_github_exercise) (the **upstream** repository), the `params/` folder contains a number of files, one for each successful pull request.
6
+
Now that everyone has contributed to the [**r-rse** repository](https://github.com/r-rse/evolottery) (the **upstream** repository), the `params/` folder contains a number of files, one for each successful pull request.
7
7
8
8
This is also clear form the commit locator
9
9
@@ -20,33 +20,29 @@ On the left side menu bar, hover over the **<i class="fa fa-cloud" aria-hidden="
20
20
21
21
<imgsrc="/images/edit-evo-5a.png" />
22
22
23
-
This should open the **<iclass="fa fa-cloud"aria-hidden="true"></i> Add Remote** Tab. Select the **`RSE-Sheffield/collaborative_github_exercise`** repository from the **GitHub Repo** dropdown menu and click the {{% button %}}**Add Remote**{{% /button %}} button.
23
+
This should open the **<iclass="fa fa-cloud"aria-hidden="true"></i> Add Remote** Tab. Select the **`r-rse/evolottery`** repository from the **GitHub Repo** dropdown menu and click the {{% button %}}**Add Remote**{{% /button %}} button.
24
24
25
25
<imgsrc="/images/edit-evo-5b.png" />
26
26
27
-
Once added, the RSE-Sheffield repository will be visible under the **<iclass="fa fa-cloud"aria-hidden="true"></i> REMOTE** menu
27
+
Once added, the r-rse repository will be visible under the **<iclass="fa fa-cloud"aria-hidden="true"></i> REMOTE** menu
28
28
29
29
<imgsrc="/images/edit-evo-5c.png" />
30
30
31
31
32
32
### Pull upstream changes
33
33
34
-
To pull the upstream changes from the **`RSE-Sheffield`** repository, **grab** the **`RSE-Sheffield`** button from the history panel and drag it over to your <iclass="fa fa-laptop"aria-hidden="true"></i> local `master` branch until a **<iclass="fas fa-crosshairs"></i>** icon appears next to it and **drop**.
34
+
To pull the upstream changes from the **`r-rse`** repository, **grab** the **`r-rse`** button from the history panel and drag it over to your <iclass="fa fa-laptop"aria-hidden="true"></i> local `main` branch until a **<iclass="fas fa-crosshairs"></i>** icon appears next to it and **drop**.
35
35
36
36
<imgsrc="/images/gk-pull-upstream.gif" />
37
37
38
-
Once you drop it onto the <iclass="fa fa-laptop"aria-hidden="true"></i> local `master` branch successfully, a pop up menu will appear. Select **Fast-forward master to RSE-Sheffield/master**. That ensures that you **do not create a circular commit of your initial commit** to the upstream repo when you are merging it back into your <iclass="fa fa-laptop"aria-hidden="true"></i> local repo. Find out more about [fast-forward git merging](https://ariya.io/2013/09/fast-forward-git-merge).
38
+
Once you drop it onto the <iclass="fa fa-laptop"aria-hidden="true"></i> local `main` branch successfully, a pop up menu will appear. Select **Fast-forward main to r-rse/main**. That ensures that you **do not create a circular commit of your initial commit** to the upstream repo when you are merging it back into your <iclass="fa fa-laptop"aria-hidden="true"></i> local repo. Find out more about [fast-forward git merging](https://ariya.io/2013/09/fast-forward-git-merge).
39
39
40
40
<imgsrc="/images/gk-fast-forward.png" />
41
41
42
-
Once the merge is complete, your <iclass="fa fa-laptop"aria-hidden="true"></i> local `master` will now be showing as synched with the **`RSE-Sheffield`** remote
42
+
Once the merge is complete, your <iclass="fa fa-laptop"aria-hidden="true"></i> local `main` will now be showing as synched with the **`r-rse`** remote and you will have copies of all the files contributed in your `params/` folder! :tada:
43
43
44
44
<imgsrc="/images/gk-local-synched.png" />
45
45
46
-
and you will have copies of all the files contributed in your `params/` folder! :tada:
0 commit comments