fossil-delete, fossil-forget, fossil-rm: add page (#7115)

feature/windows-fix-syntax-2
dz-at-tc 2021-11-07 13:58:30 -05:00 committed by GitHub
parent 9f8edc9891
commit 6dd3ca7cd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,8 @@
# fossil delete
> This command is an alias of `fossil rm`.
> More information: <https://fossil-scm.org/home/help>.
- View documentation for the original command:
`tldr fossil rm`

View File

@ -0,0 +1,8 @@
# fossil forget
> This command is an alias of `fossil rm`, with the exception that it never removes files from the disk.
> More information: <https://fossil-scm.org/home/help>.
- View documentation for the original command:
`tldr fossil rm`

17
pages/linux/fossil-rm.md Normal file
View File

@ -0,0 +1,17 @@
# 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`