worktree: teach "add" to check out existing branches
[git.git] / Documentation / git-annotate.txt
blob05fd482b74ed00445613c7cc9b8a0b019ae31550
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[]
27 SEE ALSO
28 --------
29 linkgit:git-blame[1]
31 GIT
32 ---
33 Part of the linkgit:git[1] suite