LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

fossil-rm

schedule files for removal

TLDR

Remove a file
$ fossil rm [file]
copy
Remove with force
$ fossil rm -f [file]
copy
Remove with dry run
$ fossil rm --dry-run [file]
copy

SYNOPSIS

fossil rm [options] file...

DESCRIPTION

fossil rm schedules files for removal from the repository on the next commit. By default, files remain on disk and are only removed from version control.The --hard option deletes files from both the repository and the filesystem. This is useful for cleaning up unwanted files while also removing them from version control.Unlike fossil forget, which only works on files not yet committed, fossil rm handles files already tracked in the repository.

PARAMETERS

--dry-run

Show what would be removed.
-f, --force
Force removal.
--hard
Also delete from disk.

INSTALL

sudo apt install fossil
copy
sudo dnf install fossil
copy
sudo pacman -S fossil
copy
sudo apk add fossil
copy
sudo zypper install fossil
copy
brew install fossil
copy
nix profile install nixpkgs#fossil
copy

SEE ALSO

RESOURCES

Copied to clipboard
Kai