Add two files to staging area


#1



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.


please check my screenshot here.



#2

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

#3

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


#4

You're welcome.

Have fun coding! :slight_smile:


#5

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