Update cheatsheets

This commit is contained in:
ivuorinen
2024-09-01 00:19:16 +00:00
parent a05eb0e931
commit bb9d5922fa
24 changed files with 60 additions and 48 deletions

View File

@@ -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: