File tree Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ commits which altered the same lines.
173
173
## Resolving Conflicts
174
174
175
175
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
177
177
` 7_add-citation-fitzroy ` :
178
178
179
179
``` mermaid
@@ -189,7 +189,18 @@ gitGraph
189
189
merge main
190
190
```
191
191
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:
193
204
194
205
``` bash
195
206
$ git switch 7_add-citation-fitzroy
Original file line number Diff line number Diff line change 10
10
"episodes/04-review.md" "90bf3c25ead2368b8664603c6667a457" "site/built/04-review.md" "2025-01-09"
11
11
"episodes/Break.md" "96f3c03ec9cd646c6366f840b7f21107" "site/built/Break.md" "2025-01-09"
12
12
"episodes/05-forks.md" "47b583e34640bfbf92abb84c2c97540c" "site/built/05-forks.md" "2025-01-09"
13
- "episodes/06-conflict.md" "a8d0c3432d9ba941acb7607a264f117a " "site/built/06-conflict.md" "2024-12-03 "
13
+ "episodes/06-conflict.md" "a3c16b18c944396e7edc87775f30d583 " "site/built/06-conflict.md" "2025-01-09 "
14
14
"episodes/07-history.md" "06de9dc87212934f2d7fc6ea7bbd97b2" "site/built/07-history.md" "2025-01-09"
15
15
"episodes/End.md" "42f2019c55b38db5ec0eab909b6bca4d" "site/built/End.md" "2025-01-09"
16
16
"episodes/08-rebase.md" "7e00861bac4464ebf12cfac75109cdd6" "site/built/08-rebase.md" "2025-01-09"
You can’t perform that action at this time.
0 commit comments