mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-08 10:46:01 +00:00
Update cheatsheets
This commit is contained in:
25
fossil-commit
Normal file
25
fossil-commit
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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 ...}}`
|
||||
Reference in New Issue
Block a user