From 6dd3ca7cd810f4fe410b3a54428805a7289779fc Mon Sep 17 00:00:00 2001 From: dz-at-tc <49352191+dz-at-tc@users.noreply.github.com> Date: Sun, 7 Nov 2021 13:58:30 -0500 Subject: [PATCH] fossil-delete, fossil-forget, fossil-rm: add page (#7115) --- pages/linux/fossil-delete.md | 8 ++++++++ pages/linux/fossil-forget.md | 8 ++++++++ pages/linux/fossil-rm.md | 17 +++++++++++++++++ 3 files changed, 33 insertions(+) create mode 100644 pages/linux/fossil-delete.md create mode 100644 pages/linux/fossil-forget.md create mode 100644 pages/linux/fossil-rm.md diff --git a/pages/linux/fossil-delete.md b/pages/linux/fossil-delete.md new file mode 100644 index 000000000..6ad6ecdf7 --- /dev/null +++ b/pages/linux/fossil-delete.md @@ -0,0 +1,8 @@ +# fossil delete + +> This command is an alias of `fossil rm`. +> More information: . + +- View documentation for the original command: + +`tldr fossil rm` diff --git a/pages/linux/fossil-forget.md b/pages/linux/fossil-forget.md new file mode 100644 index 000000000..50f6f6733 --- /dev/null +++ b/pages/linux/fossil-forget.md @@ -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: . + +- View documentation for the original command: + +`tldr fossil rm` diff --git a/pages/linux/fossil-rm.md b/pages/linux/fossil-rm.md new file mode 100644 index 000000000..6eefc30e1 --- /dev/null +++ b/pages/linux/fossil-rm.md @@ -0,0 +1,17 @@ +# fossil rm + +> Remove files or directories from Fossil version control. +> See also `fossil forget`. +> More information: . + +- 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`