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


#1



https://www.codecademy.com/fr/courses/learn-git/lessons/git-workflow/exercises/git-diff


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?



#2

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.


#3

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