1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-31 06:18:17 +01:00
tldr/pages/common/git-blame.md
2016-01-08 09:38:59 +01:00

242 B

git blame

Show commit hash and last author on each line of a file.

  • 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}}