Add two files to staging area


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.


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.