set_git_dir: handle feeding gitdir to itself
[git.git] / Documentation / git-annotate.txt
blob94be4b85e099f8b67901a737b8347ee02e6c6a6c
1 git-annotate(1)
2 ===============
4 NAME
5 ----
6 git-annotate - Annotate file lines with commit information
8 SYNOPSIS
9 --------
10 [verse]
11 'git annotate' [options] file [revision]
13 DESCRIPTION
14 -----------
15 Annotates each line in the given file with information from the commit
16 which introduced the line. Optionally annotates from a given revision.
18 The only difference between this command and linkgit:git-blame[1] is that
19 they use slightly different output formats, and this command exists only
20 for backward compatibility to support existing scripts, and provide a more
21 familiar command name for people coming from other SCM systems.
23 OPTIONS
24 -------
25 include::blame-options.txt[]
26 include::diff-heuristic-options.txt[]
28 SEE ALSO
29 --------
30 linkgit:git-blame[1]
32 GIT
33 ---
34 Part of the linkgit:git[1] suite