1.
git fetch upstream merge-conflict-practice
- I have fetched the branch
- I have not fetched the branch
- Do not make continue until you have the
merge-conflict-practice
branch set up.
The upstream repository contains a branch created just for this practice. Use the following command to get this feature branch from the upstream into your local repo:
The
merge-conflict-practice
branch was created so that it contains some conflicts with the upstream main
branch. When you have fetched this branch, think of it as if you had created it from main
, then made some changes that resulted in conflicts with the upstream main
branch. This leaves you at the point where you are trying to merge main into this feature branch and resolve the conflicts (e.g. like in Figure 5.4.1).