Git Assessment: Error With The First Three Branches: Master, Drawings, and Pictures

Learning Challenge

Git Assessment

Question

The questions you missed were:

’drawings’ branch

— a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-.DS_Store
+.DS_store

’master’ branch

— a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-.DS_Store
+.DS_store

’pictures’ branch

— a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-.DS_Store
+.DS_store

What I’ve tried

I started from scratched (Deleted previous project download and submission zip from the file system) and doubled checked each branch after each commit; making sure it followed the guidelines for the Assessment. I resubmitted the assignment and the above screenshot the revised results. I went into the “.gitignore” file and capitalized the lowercase “s” (.DS_'s’tore) so it matched the requirement. Would there be any other advice for correcting this Assessment?

Screenshots

Good morning,
You are definitely on the right track - it looks like you had a typo and it carried over across multiple branches.

The key to fixing this is to make sure that you fix in one branch, save and commit the change to that branch, and then repeat the process for each branch that needs the change.

Double check your work by closing everything out in VSCode and then re-opening, checking that everything is still corrected in each branch.

You’re super close!
Jesse

Thank you so much and will do

1 Like