Decoding Git Assessment diff

I received a 3/4 for my Git assessment but I’m not sure what it’s trying tell me when it gives me this message:

The questions you missed were:

’master’ branch

— a/site.htm
l+++ b/site.html
@@ -9,6 +9,7 @@
+img src=“images/drawings/lands-end.jpg”

I’m guessing it means that the solution file didn’t have that pic in the html but my file did. Except I didn’t have it either.

Good morning!
You are correct in reading the diff. The solution doesn’t have that image, but your master branch does. I looked at your submission and the extra image is in fact there. Perhaps you committed the changes before deleting the line, or something like that.

Yeah I think you might be right but I’m just not sure %100. I have two commits for removing the lands end file but when I went back and checked the status after submitting the assignment for the first time it said I had 1 deletion and 2 insertion modifications that had not even been staged for committing. So I took care of those and now my working tree is clean. I’m hoping that fixed it.

1 Like