1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/fossil-rm.md
dz-at-tc fa35e2d8d4
fossil*: move all fossil commands to common vs linux (#8677)
fossil commands work substantially the same on all major platforms.
2022-10-03 08:12:44 +05:30

504 B

fossil rm

Remove files or directories from Fossil version control. See also fossil forget. More information: https://fossil-scm.org/home/help.

  • Remove a file or directory from Fossil version control:

fossil rm {{path/to/file_or_directory}}

  • Remove a file or directory from Fossil version control, and also delete it from the disk:

fossil rm --hard {{path/to/file_or_directory}}

  • Re-add all previously removed and uncommitted files to Fossil version control:

fossil rm --reset