1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 14:02:08 +02:00
tldr/pages/common/fossil-commit.md
dz-at-tc fa35e2d8d4
fossil*: move all fossil commands to common vs linux (#8677)
fossil commands work substantially the same on all major platforms.
2022-10-03 08:12:44 +05:30

20 lines
735 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 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}}`