git annotate
Show commit hash and last author on each line of a file.
See `git blame`, which is preferred over `git annotate`.
`git annotate` is provided for those familiar with other version control systems.
- Print a file with the author name and commit hash prepended to each line:
git annotate {path/to/file}
- Print a file with the author email and commit hash prepended to each line:
git annotate -e {path/to/file}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).