1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 09:42:07 +02:00
tldr/pages/common/git-blame.md
2019-01-30 11:19:23 +00:00

12 lines
292 B
Markdown

# git blame
> Show commit hash and last author on each line of a file.
> Homepage: <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}}`