HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

fossil commit — Commit files to a Fossil repository. More information: <https://fossil-scm.org/home/help/commit>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
fossilcommandfilescommitfossil commitclimorerepository

Problem

How to use the fossil commit command: Commit files to a Fossil repository. More information: <https://fossil-scm.org/home/help/commit>.

Solution

fossil commit — Commit files to a Fossil repository. More information: <https://fossil-scm.org/home/help/commit>.

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 ...}}

Code Snippets

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 ...}}

Context

tldr-pages: common/fossil commit

Revisions (0)

No revisions yet.