Git/rm
< 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>.