blob: e44a831339d4a6d7f9ca3d9879dbb5a9b4ffac0a [file] [log] [blame]
Jonas Fonseca8f2b72a2006-03-06 06:24:44 +01001git-annotate(1)
2===============
3
4NAME
5----
David J. Mellora7d64b52009-03-01 22:38:36 -08006git-annotate - Annotate file lines with commit information
Jonas Fonseca8f2b72a2006-03-06 06:24:44 +01007
8SYNOPSIS
9--------
Martin von Zweigbergk7791a1d2011-07-01 22:38:26 -040010[verse]
Robert P. J. Dayde613052018-05-24 16:11:39 -040011'git annotate' [<options>] <file> [<revision>]
Jonas Fonseca8f2b72a2006-03-06 06:24:44 +010012
13DESCRIPTION
14-----------
15Annotates each line in the given file with information from the commit
David J. Mellora7d64b52009-03-01 22:38:36 -080016which introduced the line. Optionally annotates from a given revision.
Jonas Fonseca8f2b72a2006-03-06 06:24:44 +010017
Junio C Hamanof22a4322008-09-05 00:29:51 -070018The only difference between this command and linkgit:git-blame[1] is that
19they use slightly different output formats, and this command exists only
David J. Mellora7d64b52009-03-01 22:38:36 -080020for backward compatibility to support existing scripts, and provide a more
Junio C Hamanof22a4322008-09-05 00:29:51 -070021familiar command name for people coming from other SCM systems.
22
Jonas Fonseca8f2b72a2006-03-06 06:24:44 +010023OPTIONS
24-------
Andrew Ruder635f4a32007-04-16 01:20:34 -050025include::blame-options.txt[]
Jonas Fonseca8f2b72a2006-03-06 06:24:44 +010026
27SEE ALSO
28--------
Dan McGee5162e692007-12-29 00:20:38 -060029linkgit:git-blame[1]
Jonas Fonseca8f2b72a2006-03-06 06:24:44 +010030
Jonas Fonseca8f2b72a2006-03-06 06:24:44 +010031GIT
32---
Christian Couder9e1f0a82008-06-06 09:07:32 +020033Part of the linkgit:git[1] suite