Git/Overview/Deleting
Jump to navigation
Jump to search
This page or section is an undeveloped draft or outline. You can help to develop the work, or you can ask for assistance in the project room. |
Removing Files[edit | edit source]
To remove files, use the "rm" subcommand of git.
git rm <filename> [filenames]
git rm --cached <filename> [filenames]
The second variant only deletes the file from the cache, leaving the physical file in place.