mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-20 07:01:43 +00:00
Update cheatsheets
This commit is contained in:
14
tldr/hg-log
14
tldr/hg-log
@@ -14,28 +14,28 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Display the revision history with an ASCII graph:
|
||||
|
||||
`hg log --graph`
|
||||
`hg log {{[-G|--graph]}}`
|
||||
|
||||
- Display the revision history with file names matching a specified pattern:
|
||||
|
||||
`hg log --include {{pattern}}`
|
||||
`hg log {{[-I|--include]}} {{pattern}}`
|
||||
|
||||
- Display the revision history, excluding file names that match a specified pattern:
|
||||
|
||||
`hg log --exclude {{pattern}}`
|
||||
`hg log {{[-X|--exclude]}} {{pattern}}`
|
||||
|
||||
- Display the log information for a specific revision:
|
||||
|
||||
`hg log --rev {{revision}}`
|
||||
`hg log {{[-r|--rev]}} {{revision}}`
|
||||
|
||||
- Display the revision history for a specific branch:
|
||||
|
||||
`hg log --branch {{branch}}`
|
||||
`hg log {{[-b|--branch]}} {{branch}}`
|
||||
|
||||
- Display the revision history for a specific date:
|
||||
|
||||
`hg log --date {{date}}`
|
||||
`hg log {{[-d|--date]}} {{date}}`
|
||||
|
||||
- Display revisions committed by a specific user:
|
||||
|
||||
`hg log --user {{user}}`
|
||||
`hg log {{[-u|--user]}} {{user}}`
|
||||
|
||||
Reference in New Issue
Block a user