mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-25 17:52:38 +00:00
Update cheatsheets
This commit is contained in:
@@ -14,11 +14,11 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Print the latest commit that changed (add/edit/remove) a specific file on the current branch:
|
||||
|
||||
`git rev-list -n 1 HEAD -- {{path/to/file}}`
|
||||
`git rev-list {{--max-count|-n}} 1 HEAD -- {{path/to/file}}`
|
||||
|
||||
- List commits more recent than a specific date, on a specific branch:
|
||||
|
||||
`git rev-list --since={{'2019-12-01 00:00:00'}} {{branch_name}}`
|
||||
`git rev-list --since "{{2019-12-01 00:00:00}}" {{branch_name}}`
|
||||
|
||||
- List all merge commits on a specific commit:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user