git add all new files code example
Example 1: git add all files command
/*to add all the files in staging area at once*/
git add .
Example 2: git add only text files from directory
$ git add Documentation/\*.txt
Example 3: git add .
git add <file> or you can do git add -A to add all files