mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
23 lines
648 B
Plaintext
23 lines
648 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# fossil delete
|
|
|
|
> Remove files or directories from Fossil version control.
|
|
> See also: `fossil forget`.
|
|
> More information: <https://fossil-scm.org/home/help/delete>.
|
|
|
|
- Remove a file or directory from Fossil version control:
|
|
|
|
`fossil {{[rm|delete]}} {{path/to/file_or_directory}}`
|
|
|
|
- Remove a file or directory from Fossil version control, and also delete it from the disk:
|
|
|
|
`fossil {{[rm|delete]}} --hard {{path/to/file_or_directory}}`
|
|
|
|
- Re-add all previously removed and uncommitted files to Fossil version control:
|
|
|
|
`fossil {{[rm|delete]}} --reset`
|