I don't know what to do in 6 lesson 3rd task



I tried to change scene-1.txt and typed git diff scene-1.txt. Then I added new file scene-2.txt, added it to staging area(git add scene-2.txt) and typed git diff scene-2.txt but both variants don't work. What am I supposed to do in this task?


Maybe you're just doing things out of order? Adding to the staging area is the third checkpoint, diffing is the second. Your console suggests you did it the other way around.

I'd try adding the file. Perhaps you added it before editing, that would have no effect.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.