CmdID

CmdID / Commands

git-annotate

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

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

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/fileIdentify

Print a file with the author email and commit hash prepended to each line

git annotate --show-email path/to/fileIdentify

Print only rows that match a regex

git annotate -L :regex path/to/fileIdentify