Git/rm

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
< Git
Revision as of 21:20, 9 March 2015 by Woozle (talk | contribs) (how to update the remote afterwards)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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