git add all not ignored files code example Example: git add only text files from directory $ git add Documentation/\*.txt