mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-06 23:46:00 +02:00
hg-log: add page (#1879)
This commit is contained in:
parent
70673ad485
commit
01be8e6f47
1 changed files with 35 additions and 0 deletions
35
pages/common/hg-log.md
Normal file
35
pages/common/hg-log.md
Normal file
|
@ -0,0 +1,35 @@
|
|||
# hg log
|
||||
|
||||
> Display the revision history of the repository.
|
||||
|
||||
- Display the entire revision history of the repository:
|
||||
|
||||
`hg log`
|
||||
|
||||
- Display the revision history with an ASCII graph:
|
||||
|
||||
`hg log --graph`
|
||||
|
||||
- Display the revision history with file names matching a specified pattern:
|
||||
|
||||
`hg log --include {{pattern}}`
|
||||
|
||||
- Display the revision history, excluding file names that match a specified pattern:
|
||||
|
||||
`hg log --exclude {{pattern}}`
|
||||
|
||||
- Display the log information for a specific revision:
|
||||
|
||||
`hg log --rev {{revision}}`
|
||||
|
||||
- Display the revision history for a specific branch:
|
||||
|
||||
`hg log --branch {{branch}}`
|
||||
|
||||
- Display the revision history for a specific date:
|
||||
|
||||
`hg log --date {{date}}`
|
||||
|
||||
- Display revisions committed by a specific user:
|
||||
|
||||
`hg log --user {{user}}`
|
Loading…
Add table
Reference in a new issue