2021-11-07 18:58:30 +00:00
|
|
|
# fossil rm
|
|
|
|
|
|
|
|
> Remove files or directories from Fossil version control.
|
|
|
|
> See also `fossil forget`.
|
2022-10-09 06:52:38 +01:00
|
|
|
> More information: <https://fossil-scm.org/home/help/rm>.
|
2021-11-07 18:58:30 +00:00
|
|
|
|
|
|
|
- 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`
|