mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-11 23:58:47 +00:00
Update cheatsheets
This commit is contained in:
@@ -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}}`
|
||||
|
||||
Reference in New Issue
Block a user