Skip to content

Commit 0586940

Browse files
Fix instructions for resolving the conflict
1 parent d001e32 commit 0586940

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

episodes/06-conflict.md

+13-2
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ commits which altered the same lines.
173173
## Resolving Conflicts
174174

175175
We're going to resolve the conflict by merging
176-
in our `main` branch into our feature branch
176+
in the `main` branch into our feature branch
177177
`7_add-citation-fitzroy`:
178178

179179
```mermaid
@@ -189,7 +189,18 @@ gitGraph
189189
merge main
190190
```
191191

192-
Switch to the feature branch:
192+
First we need to make sure our fork's `main` branch
193+
is in sync with the upstream repository.
194+
Navigate to your fork on GitHub and click on the **Sync fork** button.
195+
196+
In your local copy of your fork, update the `main` branch:
197+
198+
```bash
199+
$ git switch main
200+
$ git pull
201+
```
202+
203+
Switch back to the feature branch:
193204

194205
```bash
195206
$ git switch 7_add-citation-fitzroy

0 commit comments

Comments
 (0)