git rm <arg...>

Remove files from the working tree and from the index

Arguments

NameDescription
arg

Options

NameDescription
--Used to separate command-line options from the list of files
--cachedOnly remove from the index
-f, --forceOverride the up-to-date check
-rAllow recursive removal