mirror of https://github.com/CrimsonTome/tldr.git
13 lines
300 B
Markdown
13 lines
300 B
Markdown
# git blame
|
|
|
|
> Show commit hash and last author on each line of a file.
|
|
> More information: <https://git-scm.com/docs/git-blame>.
|
|
|
|
- Print file with author name and commit hash on each line:
|
|
|
|
`git blame {{file}}`
|
|
|
|
- Print file with author email and commit hash on each line:
|
|
|
|
`git blame -e {{file}}`
|