From aa3bb7b0e802ea7d286e81dcfed3b1093876e1d9 Mon Sep 17 00:00:00 2001 From: dz-at-tc <49352191+dz-at-tc@users.noreply.github.com> Date: Thu, 21 Oct 2021 03:38:26 -0400 Subject: [PATCH] fossil-commit: add page (#7051) --- pages/linux/fossil-commit.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pages/linux/fossil-commit.md diff --git a/pages/linux/fossil-commit.md b/pages/linux/fossil-commit.md new file mode 100644 index 000000000..5097ffecd --- /dev/null +++ b/pages/linux/fossil-commit.md @@ -0,0 +1,20 @@ +# fossil commit + +> Commit files to a Fossil repository. +> More information: . + +- Create a new version containing all the changes in the current checkout; user will be prompted for a comment: + +`fossil commit` + +- Create a new version containing all the changes in the current checkout, using the specified comment: + +`fossil commit --comment "{{comment}}"` + +- Create a new version containing all the changes in the current checkout with a comment read from a specific file: + +`fossil commit --message-file {{path/to/commit_message_file}}` + +- Create a new version containing changes from the specified files; user will be prompted for a comment: + +`fossil commit {{path/to/file1}} {{path/to/file2}}`