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