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

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are asking about.>
https://www.codecademy.com/fr/courses/learn-git/lessons/git-workflow/exercises/git-diff

<Below this line, describe in what way does your code behave incorrectly? Include ALL error messages.>
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?

<Below this line, add a screenshot of your whole web browser so that we can see what you see.>

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.