How to add multiple files in git

In this article let’s discuss about How to add multiple files in git. Let’s go through the following methods without any delay.

Method 1:

git add file1 file2 file3

If you are facing any issues with the above approach then try the alternative that is given below. It may look similar but have a try!

Method 2 :

git commit -a 

Hope the above solution works.

Realted Posts : Git reset origin branch