Git/Overview/Deleting
From Wikibooks, open books for an open world
< Git | Overview(Redirected from Source Control Management With Git/Overview/Deleting)
|
|
A reader has identified this page or section as an undeveloped draft or outline. You can help to develop the work, or you can ask for assistance in the project room. |
[edit] Removing Files
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.
This page may need to be