git annotate
Show commit hash and last author on each line of a file. Seegit blame
, which is preferred overgit annotate
.git annotate
is provided for those familiar with other version control systems. More information: https://git-scm.com/docs/git-annotate.
- 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}}
This is a tldr pages (source, CC BY 4.0) web wrapper for cheat-sheets.org. All commands, popular commands, most used linux commands. Referrals. Progressive Web Application (PWA) version to install on your device.