1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-11-02 05:17:58 +01:00
tldr/pages/common/git-blame.md

12 lines
242 B
Markdown
Raw Normal View History

2015-12-17 23:08:37 +01:00
# git blame
> Show commit hash and last author on each line of a file.
2015-12-17 23:08:37 +01:00
- Print file with author name and commit hash on each line:
2015-12-17 23:08:37 +01:00
`git blame {{file}}`
- Print file with author email and commit hash on each line:
2015-12-17 23:08:37 +01:00
`git blame -e {{file}}`