add new chinese translations
This commit is contained in:
28
pages.zh/common/hg-commit.md
Normal file
28
pages.zh/common/hg-commit.md
Normal file
@@ -0,0 +1,28 @@
|
||||
# hg 提交
|
||||
|
||||
> 将所有已暂存或指定的文件提交到版本库。
|
||||
> 更多信息:<https://www.mercurial-scm.org/doc/hg.1.html#commit>。
|
||||
|
||||
- 提交已暂存的文件到版本库:
|
||||
|
||||
`hg commit`
|
||||
|
||||
- 提交特定的文件或目录:
|
||||
|
||||
`hg commit {{path/to/file_or_directory}}`
|
||||
|
||||
- 带有特定消息提交:
|
||||
|
||||
`hg commit --message {{message}}`
|
||||
|
||||
- 提交所有匹配指定模式的文件:
|
||||
|
||||
`hg commit --include {{pattern}}`
|
||||
|
||||
- 提交所有文件,排除那些匹配指定模式的文件:
|
||||
|
||||
`hg commit --exclude {{pattern}}`
|
||||
|
||||
- 使用交互模式提交:
|
||||
|
||||
`hg commit --interactive`
|
Reference in New Issue
Block a user