Update cheatsheets

This commit is contained in:
ivuorinen
2025-01-21 00:16:55 +00:00
parent 1f72b34083
commit 11e0e72150
5 changed files with 45 additions and 12 deletions

View File

@@ -23,3 +23,11 @@ source: https://github.com/tldr-pages/tldr.git
- Print file with author name and commit hash on each line before a specific commit:
`git blame {{commit}}~ {{path/to/file}}`
- Print author name and commit hash information for a specific line range:
`git blame -L {{start_line}},{{end_line}} {{path/to/file}}`
- Ignore whitespaces and line moves:
`git blame -w -C -C -C {{path/to/file}}`