mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-01 09:42:24 +00:00
23 lines
601 B
Plaintext
23 lines
601 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# fossil rm
|
|
|
|
> Remove files or directories from Fossil version control.
|
|
> See also: `fossil forget`.
|
|
> More information: <https://fossil-scm.org/home/help/rm>.
|
|
|
|
- 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`
|