remove--Remove files from the working directory

Remove a file from the working directory, marking the file as 'dead' which comes into effect after the next commit.

Files are never actually removed from the repository, only ever flagged as deleted. You can recover such a removed file by using a combinaiton of add and commit. See also the section called “Removing files”

As a safety measure this command will not do anything unless the physical file is already deleted or you use the -f option.

remove options


Delete the physical file as well. Remove will not complete unless the file has already been deleted or this option is given.


Process this directory only.


Process directories recursively.