Hi all,
Maybe you can help me with this one! I followed the git assessment instructions to a tee. Maybe a little too closely, I’m afraid.
Instructions indicate that in branch drawings
the order of images in site.html is as follows:
Note: joseph-roulin.jpg is at the bottom of the body, following stag-beetle.jpg
Now fast forward to branch together
. The instructions say to order the images according to the screenshot during the merge from the pictures
branch:
joseph-roulin.jpg is shown above stag-beetle.jpg in the body. This was not the case for me when merging in the pictures
branch. I was required to manually reorder the <img />
tags to make joseph-roulin.jpg the first image in the body. I believe this is why I got the following assessment result; note the subtraction and addition of the <img />
tag:
I can imagine two possible causes: 1. I did not do the merge conflict correctly (woops!), or 2. the instructions on the assessment are misleading.
To handle the merge conflict, in VS Code I selected the option “Accept Both Changes” and resolved using git add .
I did, however, move the joseph-roulin.jpg <img />
tag during the git merge using VS Code. Maybe that was a bad move? (excuse pun)
Any guidance would be greatly helpful. I really need some input before retaking the git assessment.
Thank you in advance!