1.
Complete the following tasks that ask about the current situation, which is illustrated in Figure 5.2.1.
(a)
- Dark Blue
- Correct.
- Lime Green
- The lime green commit is not in the upstream
main
branch. - Brown
- The brown commit is not in the upstream
main
branch. - Light Blue
- The light blue commit was added to the upstream
main
before the contributors created their feature branches. - Yellow
- The yellow commit was added to the upstream
main
before the contributors created their feature branches.
Which of the following commits (i.e. which color) in Figure 5.2.1 did the instructor add to the upstream
main
branch after you created the feature branch for your Round2 issue?Hint.
Look at which commits are in upstream
main
branch that are not in the contributors’ main
branches.(b)
- Dark Blue
- The dark blue commit is already in the upstream
main
branch. - Lime Green
- The lime green commit might create a merge conflict, but it is not your commit.
- Brown
- Correct!
- Light Blue
- The light blue commit is already in the upstream
main
branch. - Yellow
- The yellow commit is already in the upstream
main
branch.
Which of the following commits (i.e. which color) in Figure 5.2.1 did you create that will create a merge conflict with the upstream
main
branch?Hint.
Look for a commit in your local repository that might contain changes that could conflict with the changes in the dark blue commit.