commands.sh

fossil commit

all

Commit files to a Fossil repository.

More info →

Options (3)

boolean

Create a new version containing all the changes in the current checkout; user will be prompted for a comment

Example: fossil {{[ci|commit]}}
-m, --commentboolean

Create a new version containing all the changes in the current checkout, using the specified [m]essage

Example: fossil {{[ci|commit]}} {{[-m|--comment]}} "{{comment}}"
-M, --message-fileboolean

Create a new version containing all the changes in the current checkout with a comment read from a specific file

Example: fossil {{[ci|commit]}} {{[-M|--message-file]}} {{path/to/commit_message_file}}

Examples (4)

Create a new version containing all the changes in the current checkout; user will be prompted for a comment

fossil [ci|commit]

Create a new version containing all the changes in the current checkout, using the specified [m]essage

fossil [ci|commit] [-m|--comment] "comment"

Create a new version containing all the changes in the current checkout with a comment read from a specific file

fossil [ci|commit] [-M|--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 [ci|commit] path/to/file1 path/to/file2 ...
made by @shridhargupta | data from tldr-pages