mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-26 04:55:25 +02:00
fossil-commit: add page (#7051)
This commit is contained in:
parent
07d3869a83
commit
aa3bb7b0e8
1 changed files with 20 additions and 0 deletions
20
pages/linux/fossil-commit.md
Normal file
20
pages/linux/fossil-commit.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# 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}}`
|
Loading…
Add table
Reference in a new issue