Hello,
I am currently working on FullStack Engineer>Git and GitHub, Part1>How to backtrack in Git> Poem Fiasco project.
For the first question, "The file road-not-taken.txt doesn’t look right at all! Perhaps a rival poet snuck in and changed it while you were getting coffee. Good thing you’ve been committing often. * Checkout the HEAD
version of road-not-taken.txt to discard changes made to the working directory. ", I did git checkout HEAD in the beginning, which gave me the following lines.
M oven-bird.txt
M road-not-taken.txt
I understand now that I should have added the filename after HEAD. However, I am wondering what the meaning of the result I previously got is. what does the letter M signify here and why is it listing these files? Thanks a lot in advance for any help!