1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-22 07:23:55 +02:00
tldr/pages/common/fossil-commit.md
Managor 99c7af4917
*: use a more specific more info link, org domain (#17699)
Mass update for more specific "more info" links
2025-08-16 11:12:49 -07:00

20 lines
791 B
Markdown

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