Skip to content

Commit d67b283

Browse files
committed
Finalise synching with upstream section
1 parent 4b7f975 commit d67b283

File tree

4 files changed

+6
-10
lines changed

4 files changed

+6
-10
lines changed

content/03-collaborative_github_basics/12-pull-upstream-changes.en.md

+6-10
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Pulling Upstream Changes
33
weight: 12
44
---
55

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.
77

88
This is also clear form the commit locator
99

@@ -20,33 +20,29 @@ On the left side menu bar, hover over the **<i class="fa fa-cloud" aria-hidden="
2020

2121
<img src="/images/edit-evo-5a.png" />
2222

23-
This should open the **<i class="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 **<i class="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.
2424

2525
<img src="/images/edit-evo-5b.png" />
2626

27-
Once added, the RSE-Sheffield repository will be visible under the **<i class="fa fa-cloud" aria-hidden="true"></i> REMOTE** menu
27+
Once added, the r-rse repository will be visible under the **<i class="fa fa-cloud" aria-hidden="true"></i> REMOTE** menu
2828

2929
<img src="/images/edit-evo-5c.png" />
3030

3131

3232
### Pull upstream changes
3333

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 <i class="fa fa-laptop" aria-hidden="true"></i> local `master` branch until a **<i class="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 <i class="fa fa-laptop" aria-hidden="true"></i> local `main` branch until a **<i class="fas fa-crosshairs"></i>** icon appears next to it and **drop**.
3535

3636
<img src="/images/gk-pull-upstream.gif" />
3737

38-
Once you drop it onto the <i class="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 <i class="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 <i class="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 <i class="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).
3939

4040
<img src="/images/gk-fast-forward.png" />
4141

42-
Once the merge is complete, your <i class="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 <i class="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:
4343

4444
<img src="/images/gk-local-synched.png" />
4545

46-
and you will have copies of all the files contributed in your `params/` folder! :tada:
47-
48-
<img src="/images/gk-local-synched-files.png" />
49-
5046

5147

5248
### Synch **origin** remote

static/images/gk-all-synched.png

805 KB
Loading

static/images/gk-local-synched.png

799 KB
Loading

static/images/gk-pull-upstream.gif

-237 KB
Loading

0 commit comments

Comments
 (0)