Git/Overview/Deleting

Removing Files
To remove files, use the "rm" subcommand of git.

The second variant only deletes the file from the cache, leaving the physical file in place.