<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sect2 SYSTEM "../../../dtd/dblite.dtd">

<sect2 lang="en" id="git-check-mailmap(1)">
    <title>git-check-mailmap(1)</title>
    <date>2024-07-02</date>
<revhistory><revision><date>2024-07-02</date></revision></revhistory>
<indexterm>
<primary>git-check-mailmap(1)</primary>
</indexterm>
<simplesect id="git-check-mailmap(1)__name">
<title>NAME</title>
<simpara>git-check-mailmap - Show canonical names and email addresses of contacts</simpara>
</simplesect>
<simplesect id="git-check-mailmap(1)__synopsis">
<title>SYNOPSIS</title>
<blockquote>
<literallayout><emphasis>git check-mailmap</emphasis> [&lt;options&gt;] &lt;contact&gt;&#8230;</literallayout>
</blockquote>
</simplesect>
<simplesect id="git-check-mailmap(1)__description">
<title>DESCRIPTION</title>
<simpara>For each Name &lt;user@host&gt; or &lt;user@host&gt; from the command-line
or standard input (when using <emphasis>--stdin</emphasis>), look up the person's canonical name
and email address (see "Mapping Authors" below). If found, print them;
otherwise print the input as-is.</simpara>
</simplesect>
<simplesect id="git-check-mailmap(1)__options">
<title>OPTIONS</title>
<variablelist>
<varlistentry>
<term>
--stdin
</term>
<listitem>
<simpara>
        Read contacts, one per line, from the standard input after exhausting
        contacts provided on the command-line.
</simpara>
</listitem>
</varlistentry>
</variablelist>
</simplesect>
<simplesect id="git-check-mailmap(1)__output">
<title>OUTPUT</title>
<simpara>For each contact, a single line is output, terminated by a newline.  If the
name is provided or known to the <emphasis>mailmap</emphasis>, Name &lt;user@host&gt; is
printed; otherwise only &lt;user@host&gt; is printed.</simpara>
</simplesect>
<simplesect id="git-check-mailmap(1)__configuration">
<title>CONFIGURATION</title>
<simpara>See <emphasis>mailmap.file</emphasis> and <emphasis>mailmap.blob</emphasis> in <xref linkend="git-config(1)" /> for how
to specify a custom <emphasis>.mailmap</emphasis> target file or object.</simpara>
</simplesect>
<simplesect id="git-check-mailmap(1)__mapping_authors">
<title>MAPPING AUTHORS</title>
<simpara>See <xref linkend="gitmailmap(5)" />.</simpara>
</simplesect>
<simplesect id="git-check-mailmap(1)__git">
<title>GIT</title>
<simpara>Part of the <xref linkend="git(1)" /> suite</simpara>
</simplesect>
</sect2>
