The eighteenth batch
[git.git] / Documentation / git-check-mailmap.txt
blob966c91c46af7d30d88f780c44eb0d8c590251087
1 git-check-mailmap(1)
2 ====================
4 NAME
5 ----
6 git-check-mailmap - Show canonical names and email addresses of contacts
9 SYNOPSIS
10 --------
11 [verse]
12 'git check-mailmap' [<options>] <contact>...
15 DESCRIPTION
16 -----------
18 For each ``Name $$<user@host>$$'', ``$$<user@host>$$'', or ``$$user@host$$''
19 from the command-line or standard input (when using `--stdin`), look up the
20 person's canonical name and email address (see "Mapping Authors" below). If
21 found, print them; otherwise print the input as-is.
24 OPTIONS
25 -------
26 --stdin::
27         Read contacts, one per line, from the standard input after exhausting
28         contacts provided on the command-line.
30 --mailmap-file=<file>::
31         In addition to any configured mailmap files, read the specified
32         mailmap file. Entries in this file take precedence over entries in
33         either the default mailmap file or any configured mailmap file.
35 --mailmap-blob=<blob>::
36         Like `--mailmap-file`, but consider the value as a reference to a
37         blob in the repository. If both `--mailmap-file` and
38         `--mailmap-blob` are specified, entries in `--mailmap-file` will
39         take precedence.
41 OUTPUT
42 ------
44 For each contact, a single line is output, terminated by a newline.  If the
45 name is provided or known to the 'mailmap', ``Name $$<user@host>$$'' is
46 printed; otherwise only ``$$<user@host>$$'' is printed.
49 CONFIGURATION
50 -------------
52 See `mailmap.file` and `mailmap.blob` in linkgit:git-config[1] for how
53 to specify a custom `.mailmap` target file or object.
56 MAPPING AUTHORS
57 ---------------
59 See linkgit:gitmailmap[5].
62 GIT
63 ---
64 Part of the linkgit:git[1] suite