Git/rm

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
< Git
Jump to navigation Jump to search

Action: removes files from staging and, by default, also deletes them from the local project folder.

To remove files only from the staging area, use git rm --cached <file>. To update a remote project after doing this, do git commit and then git push <remote>.

Links

Reference