usage: git rm [<options>] [--] <file>... code example Example: git rm cached $ git rm --cached filename