git add --all command will not add unmodified files to the index code example Example: git add all files git commit -a -m "msg"