git add all text 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
/*to add all the files in staging area at once*/
git add .
$ git add Documentation/\*.txt