1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-08 15:35:44 +02:00

git-blame: add commit examples (#9380)

This commit is contained in:
Richard Mörbitz 2022-10-30 05:54:25 +01:00 committed by GitHub
parent 4d84a007d4
commit 33118a53ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,3 +10,11 @@
- Print file with author email and commit hash on each line:
`git blame -e {{file}}`
- Print file with author name and commit hash on each line at a specific commit:
`git blame {{commit}} {{path/to/file}}`
- Print file with author name and commit hash on each line before a specific commit:
`git blame {{commit}}~ {{path/to/file}}`