usage: git rm [<options>] [--] <file>.. code example Example: git remove all pdf files git rm -r */*.pdf