Add two files to staging area

<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/en/courses/learn-git/lessons/git-backtracking/exercises/more-git-add

I stuck in more git add ,i tried to add two files to staging area at same time, i typed git add scene-3.txt_1 scene-7.txt_2. But didn’t work.

<Below this line, describe in what way does your code behave incorrectly? Include ALL error messages.>
please check my screenshot here.

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

From what I can see, you have two files named scene-3.txt and scene-7.txt but you went on to add scene-3.txt_1 and scene-7.txt_2 which do not exist and that’s why the error says that what you’re trying to add, doesn’t match any.

So, you should be doing:

git add scene-3.txt scene-7.txt

ooooh! i see! I made it clear! thanks!!

You’re welcome.

Have fun coding! :slight_smile:

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