1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-05 14:35:23 +02:00
tldr/pages/common/fossil-commit.md

21 lines
755 B
Markdown
Raw Normal View History

2021-10-21 03:38:26 -04:00
# 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 [m]essage:
2021-10-21 03:38:26 -04:00
`fossil commit {{[-m|--comment]}} "{{comment}}"`
2021-10-21 03:38:26 -04:00
- Create a new version containing all the changes in the current checkout with a comment read from a specific file:
`fossil commit {{[-M|--message-file]}} {{path/to/commit_message_file}}`
2021-10-21 03:38:26 -04:00
- 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 ...}}`