Difference between revisions of "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
(Created page with "rm '''Action''': removes files from staging and, by default, also deletes them from the local project folder. To remove files ''only'' from the stag...")
(No difference)

Revision as of 21:09, 9 March 2015

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>.

Links

Reference