git rm <arg...>
Remove files from the working tree and from the index
Arguments
Name | Description |
---|---|
arg |
Options
Name | Description |
---|---|
-- | Used to separate command-line options from the list of files |
--cached | Only remove from the index |
-f, --force | Override the up-to-date check |
-r | Allow recursive removal |