LinuxCommandLibrary

fossil-rm

Remove files or directories from Fossil version control.

TLDR

Remove a file or directory from Fossil version control

$ fossil rm [path/to/file_or_directory]
copy


Remove a file or directory from Fossil version control, and also delete it from the disk
$ fossil rm --hard [path/to/file_or_directory]
copy


Re-add all previously removed and uncommitted files to Fossil version control
$ fossil rm --reset
copy

Copied to clipboard