{
    "content": [
        {
            "type": "text",
            "text": "# git-am (man)\n\n## NAME\n\ngit-am - Apply a series of patches from a mailbox\n\n## SYNOPSIS\n\ngit am [--signoff] [--keep] [--[no-]keep-cr] [--[no-]utf8] [--no-verify]\n[--[no-]3way] [--interactive] [--committer-date-is-author-date]\n[--ignore-date] [--ignore-space-change | --ignore-whitespace]\n[--whitespace=<action>] [-C<n>] [-p<n>] [--directory=<dir>]\n[--exclude=<path>] [--include=<path>] [--reject] [-q | --quiet]\n[--[no-]scissors] [-S[<keyid>]] [--patch-format=<format>]\n[--quoted-cr=<action>]\n[--empty=(stop|drop|keep)]\n[(<mbox> | <Maildir>)...]\ngit am (--continue | --skip | --abort | --quit | --show-current-patch[=(diff|raw)] | --allow-empty)\n\n## DESCRIPTION\n\nSplits mail messages in a mailbox into commit log messages, authorship information, and\npatches, and applies them to the current branch. You could think of it as a reverse operation\nof git-format-patch(1) run on a branch with a straight history without merges.\n\n## TLDR\n\n> Apply patch files and create a commit. Useful when receiving commits via email.\n\n- Apply and commit changes following a local patch file:\n  `git am {{path/to/file.patch}}`\n- Apply and commit changes following a remote patch file:\n  `curl {{-L|--location}} {{https://example.com/file.patch}} | git am`\n- Abort the process of applying a patch file:\n  `git am --abort`\n- Apply as much of a patch file as possible, saving failed hunks to reject files:\n  `git am --reject {{path/to/file.patch}}`\n\n*Source: tldr-pages*\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **OPTIONS** (22 subsections)\n- **DISCUSSION**\n- **HOOKS**\n- **CONFIGURATION**\n- **SEE ALSO**\n- **GIT**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "git-am",
        "section": "",
        "mode": "man",
        "summary": "git-am - Apply a series of patches from a mailbox",
        "synopsis": "git am [--signoff] [--keep] [--[no-]keep-cr] [--[no-]utf8] [--no-verify]\n[--[no-]3way] [--interactive] [--committer-date-is-author-date]\n[--ignore-date] [--ignore-space-change | --ignore-whitespace]\n[--whitespace=<action>] [-C<n>] [-p<n>] [--directory=<dir>]\n[--exclude=<path>] [--include=<path>] [--reject] [-q | --quiet]\n[--[no-]scissors] [-S[<keyid>]] [--patch-format=<format>]\n[--quoted-cr=<action>]\n[--empty=(stop|drop|keep)]\n[(<mbox> | <Maildir>)...]\ngit am (--continue | --skip | --abort | --quit | --show-current-patch[=(diff|raw)] | --allow-empty)",
        "tldr_summary": "Apply patch files and create a commit. Useful when receiving commits via email.",
        "tldr_examples": [
            {
                "description": "Apply and commit changes following a local patch file",
                "command": "git am {{path/to/file.patch}}"
            },
            {
                "description": "Apply and commit changes following a remote patch file",
                "command": "curl {{-L|--location}} {{https://example.com/file.patch}} | git am"
            },
            {
                "description": "Abort the process of applying a patch file",
                "command": "git am --abort"
            },
            {
                "description": "Apply as much of a patch file as possible, saving failed hunks to reject files",
                "command": "git am --reject {{path/to/file.patch}}"
            }
        ],
        "tldr_source": "official",
        "flags": [
            {
                "flag": "-s",
                "long": "--signoff",
                "arg": null,
                "description": "Add a Signed-off-by trailer to the commit message, using the committer identity of yourself. See the signoff option in git-commit(1) for more information."
            },
            {
                "flag": "-k",
                "long": "--keep",
                "arg": null,
                "description": "Pass -k flag to git mailinfo (see git-mailinfo(1))."
            },
            {
                "flag": "",
                "long": "--keep-non-patch",
                "arg": null,
                "description": "Pass -b flag to git mailinfo (see git-mailinfo(1)). --[no-]keep-cr With --keep-cr, call git mailsplit (see git-mailsplit(1)) with the same option, to prevent it from stripping CR at the end of lines. am.keepcr configuration variable can be used to specify the default behaviour. --no-keep-cr is useful to override am.keepcr."
            },
            {
                "flag": "-c",
                "long": "--scissors",
                "arg": null,
                "description": "Remove everything in body before a scissors line (see git-mailinfo(1)). Can be activated by default using the mailinfo.scissors configuration variable."
            },
            {
                "flag": "",
                "long": "--no-scissors",
                "arg": null,
                "description": "Ignore scissors lines (see git-mailinfo(1)). --quoted-cr=<action> This flag will be passed down to git mailinfo (see git-mailinfo(1)). --empty=(stop|drop|keep) By default, or when the option is set to stop, the command errors out on an input e-mail message lacking a patch and stops in the middle of the current am session. When this option is set to drop, skip such an e-mail message instead. When this option is set to keep, create an empty commit, recording the contents of the e-mail message as its log."
            },
            {
                "flag": "-m",
                "long": "--message-id",
                "arg": null,
                "description": "Pass the -m flag to git mailinfo (see git-mailinfo(1)), so that the Message-ID header is added to the commit message. The am.messageid configuration variable can be used to specify the default behaviour."
            },
            {
                "flag": "",
                "long": "--no-message-id",
                "arg": null,
                "description": "Do not add the Message-ID header to the commit message. no-message-id is useful to override am.messageid."
            },
            {
                "flag": "-q",
                "long": "--quiet",
                "arg": null,
                "description": "Be quiet. Only print error messages."
            },
            {
                "flag": "-u",
                "long": "--utf8",
                "arg": null,
                "description": "Pass -u flag to git mailinfo (see git-mailinfo(1)). The proposed commit log message taken from the e-mail is re-coded into UTF-8 encoding (configuration variable i18n.commitEncoding can be used to specify the project’s preferred encoding if it is not UTF-8). This was optional in prior versions of git, but now it is the default. You can use --no-utf8 to override this."
            },
            {
                "flag": "",
                "long": "--no-utf8",
                "arg": null,
                "description": "Pass -n flag to git mailinfo (see git-mailinfo(1)). -3, --3way, --no-3way When the patch does not apply cleanly, fall back on 3-way merge if the patch records the identity of blobs it is supposed to apply to and we have those blobs available locally. --no-3way can be used to override am.threeWay configuration variable. For more information, see am.threeWay in git-config(1)."
            },
            {
                "flag": "",
                "long": "--no-rerere-autoupdate",
                "arg": null,
                "description": "After the rerere mechanism reuses a recorded resolution on the current conflict to update the files in the working tree, allow it to also update the index with the result of resolution. --no-rerere-autoupdate is a good way to double-check what rerere did and catch potential mismerges, before committing the result to the index with a separate git add. --ignore-space-change, --ignore-whitespace, --whitespace=<action>, -C<n>, -p<n>, --directory=<dir>, --exclude=<path>, --include=<path>, --reject These flags are passed to the git apply (see git-apply(1)) program that applies the patch."
            },
            {
                "flag": "",
                "long": "--patch-format",
                "arg": null,
                "description": "By default the command will try to detect the patch format automatically. This option allows the user to bypass the automatic detection and specify the patch format that the patch(es) should be interpreted as. Valid formats are mbox, mboxrd, stgit, stgit-series, and hg."
            },
            {
                "flag": "-i",
                "long": "--interactive",
                "arg": null,
                "description": "Run interactively."
            },
            {
                "flag": "-n",
                "long": "--no-verify",
                "arg": null,
                "description": "By default, the pre-applypatch and applypatch-msg hooks are run. When any of --no-verify or -n is given, these are bypassed. See also githooks(5)."
            },
            {
                "flag": "",
                "long": "--committer-date-is-author-date",
                "arg": null,
                "description": "By default the command records the date from the e-mail message as the commit author date, and uses the time of commit creation as the committer date. This allows the user to lie about the committer date by using the same value as the author date."
            },
            {
                "flag": "",
                "long": "--ignore-date",
                "arg": null,
                "description": "By default the command records the date from the e-mail message as the commit author date, and uses the time of commit creation as the committer date. This allows the user to lie about the author date by using the same value as the committer date."
            },
            {
                "flag": "",
                "long": "--skip",
                "arg": null,
                "description": "Skip the current patch. This is only meaningful when restarting an aborted patch. -S[<keyid>], --gpg-sign[=<keyid>], --no-gpg-sign GPG-sign commits. The keyid argument is optional and defaults to the committer identity; if specified, it must be stuck to the option without a space. --no-gpg-sign is useful to countermand both commit.gpgSign configuration variable, and earlier --gpg-sign."
            },
            {
                "flag": "-r",
                "long": "--resolved",
                "arg": null,
                "description": "After a patch failure (e.g. attempting to apply conflicting patch), the user has applied it by hand and the index file stores the result of the application. Make a commit using the authorship and commit log extracted from the e-mail message and the current index file, and continue. --resolvemsg=<msg> When a patch failure occurs, <msg> will be printed to the screen before exiting. This overrides the standard message informing you to use --continue or --skip to handle the failure. This is solely for internal use between git rebase and git am."
            },
            {
                "flag": "",
                "long": "--abort",
                "arg": null,
                "description": "Restore the original branch and abort the patching operation. Revert the contents of files involved in the am operation to their pre-am state."
            },
            {
                "flag": "",
                "long": "--quit",
                "arg": null,
                "description": "Abort the patching operation but keep HEAD and the index untouched."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Show the message at which git am has stopped due to conflicts. If raw is specified, show the raw contents of the e-mail message; if diff, show the diff portion only. Defaults to raw."
            },
            {
                "flag": "",
                "long": "--allow-empty",
                "arg": null,
                "description": "After a patch failure on an input e-mail message lacking a patch, create an empty commit with the contents of the e-mail message as its log message."
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "git-apply",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/git-apply/1/json"
            },
            {
                "name": "git-format-patch",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/git-format-patch/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 12,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 5,
                "subsections": [
                    {
                        "name": "-s, --signoff",
                        "lines": 3,
                        "flag": "-s",
                        "long": "--signoff"
                    },
                    {
                        "name": "-k, --keep",
                        "lines": 2,
                        "flag": "-k",
                        "long": "--keep"
                    },
                    {
                        "name": "--keep-non-patch",
                        "lines": 7,
                        "long": "--keep-non-patch"
                    },
                    {
                        "name": "-c, --scissors",
                        "lines": 3,
                        "flag": "-c",
                        "long": "--scissors"
                    },
                    {
                        "name": "--no-scissors",
                        "lines": 11,
                        "long": "--no-scissors"
                    },
                    {
                        "name": "-m, --message-id",
                        "lines": 4,
                        "flag": "-m",
                        "long": "--message-id"
                    },
                    {
                        "name": "--no-message-id",
                        "lines": 3,
                        "long": "--no-message-id"
                    },
                    {
                        "name": "-q, --quiet",
                        "lines": 2,
                        "flag": "-q",
                        "long": "--quiet"
                    },
                    {
                        "name": "-u, --utf8",
                        "lines": 8,
                        "flag": "-u",
                        "long": "--utf8"
                    },
                    {
                        "name": "--no-utf8",
                        "lines": 8,
                        "long": "--no-utf8"
                    },
                    {
                        "name": "--rerere-autoupdate, --no-rerere-autoupdate",
                        "lines": 11,
                        "long": "--no-rerere-autoupdate"
                    },
                    {
                        "name": "--patch-format",
                        "lines": 5,
                        "long": "--patch-format"
                    },
                    {
                        "name": "-i, --interactive",
                        "lines": 2,
                        "flag": "-i",
                        "long": "--interactive"
                    },
                    {
                        "name": "-n, --no-verify",
                        "lines": 3,
                        "flag": "-n",
                        "long": "--no-verify"
                    },
                    {
                        "name": "--committer-date-is-author-date",
                        "lines": 4,
                        "long": "--committer-date-is-author-date"
                    },
                    {
                        "name": "--ignore-date",
                        "lines": 4,
                        "long": "--ignore-date"
                    },
                    {
                        "name": "--skip",
                        "lines": 7,
                        "long": "--skip"
                    },
                    {
                        "name": "--continue, -r, --resolved",
                        "lines": 10,
                        "flag": "-r",
                        "long": "--resolved"
                    },
                    {
                        "name": "--abort",
                        "lines": 3,
                        "long": "--abort"
                    },
                    {
                        "name": "--quit",
                        "lines": 2,
                        "long": "--quit"
                    },
                    {
                        "name": "--show-current-patch[=(diff|raw)]",
                        "lines": 4
                    },
                    {
                        "name": "--allow-empty",
                        "lines": 3,
                        "long": "--allow-empty"
                    }
                ]
            },
            {
                "name": "DISCUSSION",
                "lines": 43,
                "subsections": []
            },
            {
                "name": "HOOKS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "CONFIGURATION",
                "lines": 15,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "GIT",
                "lines": 3,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "git-am - Apply a series of patches from a mailbox\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "git am [--signoff] [--keep] [--[no-]keep-cr] [--[no-]utf8] [--no-verify]\n[--[no-]3way] [--interactive] [--committer-date-is-author-date]\n[--ignore-date] [--ignore-space-change | --ignore-whitespace]\n[--whitespace=<action>] [-C<n>] [-p<n>] [--directory=<dir>]\n[--exclude=<path>] [--include=<path>] [--reject] [-q | --quiet]\n[--[no-]scissors] [-S[<keyid>]] [--patch-format=<format>]\n[--quoted-cr=<action>]\n[--empty=(stop|drop|keep)]\n[(<mbox> | <Maildir>)...]\ngit am (--continue | --skip | --abort | --quit | --show-current-patch[=(diff|raw)] | --allow-empty)\n\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Splits mail messages in a mailbox into commit log messages, authorship information, and\npatches, and applies them to the current branch. You could think of it as a reverse operation\nof git-format-patch(1) run on a branch with a straight history without merges.\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "(<mbox>|<Maildir>)...\nThe list of mailbox files to read patches from. If you do not supply this argument, the\ncommand reads from the standard input. If you supply directories, they will be treated as\nMaildirs.\n",
                "subsections": [
                    {
                        "name": "-s, --signoff",
                        "content": "Add a Signed-off-by trailer to the commit message, using the committer identity of\nyourself. See the signoff option in git-commit(1) for more information.\n",
                        "flag": "-s",
                        "long": "--signoff"
                    },
                    {
                        "name": "-k, --keep",
                        "content": "Pass -k flag to git mailinfo (see git-mailinfo(1)).\n",
                        "flag": "-k",
                        "long": "--keep"
                    },
                    {
                        "name": "--keep-non-patch",
                        "content": "Pass -b flag to git mailinfo (see git-mailinfo(1)).\n\n--[no-]keep-cr\nWith --keep-cr, call git mailsplit (see git-mailsplit(1)) with the same option, to\nprevent it from stripping CR at the end of lines.  am.keepcr configuration variable can\nbe used to specify the default behaviour.  --no-keep-cr is useful to override am.keepcr.\n",
                        "long": "--keep-non-patch"
                    },
                    {
                        "name": "-c, --scissors",
                        "content": "Remove everything in body before a scissors line (see git-mailinfo(1)). Can be activated\nby default using the mailinfo.scissors configuration variable.\n",
                        "flag": "-c",
                        "long": "--scissors"
                    },
                    {
                        "name": "--no-scissors",
                        "content": "Ignore scissors lines (see git-mailinfo(1)).\n\n--quoted-cr=<action>\nThis flag will be passed down to git mailinfo (see git-mailinfo(1)).\n\n--empty=(stop|drop|keep)\nBy default, or when the option is set to stop, the command errors out on an input e-mail\nmessage lacking a patch and stops in the middle of the current am session. When this\noption is set to drop, skip such an e-mail message instead. When this option is set to\nkeep, create an empty commit, recording the contents of the e-mail message as its log.\n",
                        "long": "--no-scissors"
                    },
                    {
                        "name": "-m, --message-id",
                        "content": "Pass the -m flag to git mailinfo (see git-mailinfo(1)), so that the Message-ID header is\nadded to the commit message. The am.messageid configuration variable can be used to\nspecify the default behaviour.\n",
                        "flag": "-m",
                        "long": "--message-id"
                    },
                    {
                        "name": "--no-message-id",
                        "content": "Do not add the Message-ID header to the commit message.  no-message-id is useful to\noverride am.messageid.\n",
                        "long": "--no-message-id"
                    },
                    {
                        "name": "-q, --quiet",
                        "content": "Be quiet. Only print error messages.\n",
                        "flag": "-q",
                        "long": "--quiet"
                    },
                    {
                        "name": "-u, --utf8",
                        "content": "Pass -u flag to git mailinfo (see git-mailinfo(1)). The proposed commit log message taken\nfrom the e-mail is re-coded into UTF-8 encoding (configuration variable\ni18n.commitEncoding can be used to specify the project’s preferred encoding if it is not\nUTF-8).\n\nThis was optional in prior versions of git, but now it is the default. You can use\n--no-utf8 to override this.\n",
                        "flag": "-u",
                        "long": "--utf8"
                    },
                    {
                        "name": "--no-utf8",
                        "content": "Pass -n flag to git mailinfo (see git-mailinfo(1)).\n\n-3, --3way, --no-3way\nWhen the patch does not apply cleanly, fall back on 3-way merge if the patch records the\nidentity of blobs it is supposed to apply to and we have those blobs available locally.\n--no-3way can be used to override am.threeWay configuration variable. For more\ninformation, see am.threeWay in git-config(1).\n",
                        "long": "--no-utf8"
                    },
                    {
                        "name": "--rerere-autoupdate, --no-rerere-autoupdate",
                        "content": "After the rerere mechanism reuses a recorded resolution on the current conflict to update\nthe files in the working tree, allow it to also update the index with the result of\nresolution.  --no-rerere-autoupdate is a good way to double-check what rerere did and\ncatch potential mismerges, before committing the result to the index with a separate git\nadd.\n\n--ignore-space-change, --ignore-whitespace, --whitespace=<action>, -C<n>, -p<n>,\n--directory=<dir>, --exclude=<path>, --include=<path>, --reject\nThese flags are passed to the git apply (see git-apply(1)) program that applies the\npatch.\n",
                        "long": "--no-rerere-autoupdate"
                    },
                    {
                        "name": "--patch-format",
                        "content": "By default the command will try to detect the patch format automatically. This option\nallows the user to bypass the automatic detection and specify the patch format that the\npatch(es) should be interpreted as. Valid formats are mbox, mboxrd, stgit, stgit-series,\nand hg.\n",
                        "long": "--patch-format"
                    },
                    {
                        "name": "-i, --interactive",
                        "content": "Run interactively.\n",
                        "flag": "-i",
                        "long": "--interactive"
                    },
                    {
                        "name": "-n, --no-verify",
                        "content": "By default, the pre-applypatch and applypatch-msg hooks are run. When any of --no-verify\nor -n is given, these are bypassed. See also githooks(5).\n",
                        "flag": "-n",
                        "long": "--no-verify"
                    },
                    {
                        "name": "--committer-date-is-author-date",
                        "content": "By default the command records the date from the e-mail message as the commit author\ndate, and uses the time of commit creation as the committer date. This allows the user to\nlie about the committer date by using the same value as the author date.\n",
                        "long": "--committer-date-is-author-date"
                    },
                    {
                        "name": "--ignore-date",
                        "content": "By default the command records the date from the e-mail message as the commit author\ndate, and uses the time of commit creation as the committer date. This allows the user to\nlie about the author date by using the same value as the committer date.\n",
                        "long": "--ignore-date"
                    },
                    {
                        "name": "--skip",
                        "content": "Skip the current patch. This is only meaningful when restarting an aborted patch.\n\n-S[<keyid>], --gpg-sign[=<keyid>], --no-gpg-sign\nGPG-sign commits. The keyid argument is optional and defaults to the committer identity;\nif specified, it must be stuck to the option without a space.  --no-gpg-sign is useful to\ncountermand both commit.gpgSign configuration variable, and earlier --gpg-sign.\n",
                        "long": "--skip"
                    },
                    {
                        "name": "--continue, -r, --resolved",
                        "content": "After a patch failure (e.g. attempting to apply conflicting patch), the user has applied\nit by hand and the index file stores the result of the application. Make a commit using\nthe authorship and commit log extracted from the e-mail message and the current index\nfile, and continue.\n\n--resolvemsg=<msg>\nWhen a patch failure occurs, <msg> will be printed to the screen before exiting. This\noverrides the standard message informing you to use --continue or --skip to handle the\nfailure. This is solely for internal use between git rebase and git am.\n",
                        "flag": "-r",
                        "long": "--resolved"
                    },
                    {
                        "name": "--abort",
                        "content": "Restore the original branch and abort the patching operation. Revert the contents of\nfiles involved in the am operation to their pre-am state.\n",
                        "long": "--abort"
                    },
                    {
                        "name": "--quit",
                        "content": "Abort the patching operation but keep HEAD and the index untouched.\n",
                        "long": "--quit"
                    },
                    {
                        "name": "--show-current-patch[=(diff|raw)]",
                        "content": "Show the message at which git am has stopped due to conflicts. If raw is specified, show\nthe raw contents of the e-mail message; if diff, show the diff portion only. Defaults to\nraw.\n"
                    },
                    {
                        "name": "--allow-empty",
                        "content": "After a patch failure on an input e-mail message lacking a patch, create an empty commit\nwith the contents of the e-mail message as its log message.\n",
                        "long": "--allow-empty"
                    }
                ]
            },
            "DISCUSSION": {
                "content": "The commit author name is taken from the \"From: \" line of the message, and commit author date\nis taken from the \"Date: \" line of the message. The \"Subject: \" line is used as the title of\nthe commit, after stripping common prefix \"[PATCH <anything>]\". The \"Subject: \" line is\nsupposed to concisely describe what the commit is about in one line of text.\n\n\"From: \", \"Date: \", and \"Subject: \" lines starting the body override the respective commit\nauthor name and title values taken from the headers.\n\nThe commit message is formed by the title taken from the \"Subject: \", a blank line and the\nbody of the message up to where the patch begins. Excess whitespace at the end of each line\nis automatically stripped.\n\nThe patch is expected to be inline, directly following the message. Any line that is of the\nform:\n\n•   three-dashes and end-of-line, or\n\n•   a line that begins with \"diff -\", or\n\n•   a line that begins with \"Index: \"\n\nis taken as the beginning of a patch, and the commit log message is terminated before the\nfirst occurrence of such a line.\n\nWhen initially invoking git am, you give it the names of the mailboxes to process. Upon\nseeing the first patch that does not apply, it aborts in the middle. You can recover from\nthis in one of two ways:\n\n1. skip the current patch by re-running the command with the --skip option.\n\n2. hand resolve the conflict in the working directory, and update the index file to bring it\ninto a state that the patch should have produced. Then run the command with the\n--continue option.\n\nThe command refuses to process new mailboxes until the current operation is finished, so if\nyou decide to start over from scratch, run git am --abort before running the command with\nmailbox names.\n\nBefore any patches are applied, ORIGHEAD is set to the tip of the current branch. This is\nuseful if you have problems with multiple commits, like running git am on the wrong branch or\nan error in the commits that is more easily fixed by changing the mailbox (e.g. errors in the\n\"From:\" lines).\n",
                "subsections": []
            },
            "HOOKS": {
                "content": "This command can run applypatch-msg, pre-applypatch, and post-applypatch hooks. See\ngithooks(5) for more information.\n",
                "subsections": []
            },
            "CONFIGURATION": {
                "content": "Everything below this line in this section is selectively included from the git-config(1)\ndocumentation. The content is the same as what’s found there:\n\nam.keepcr\nIf true, git-am will call git-mailsplit for patches in mbox format with parameter\n--keep-cr. In this case git-mailsplit will not remove \\r from lines ending with \\r\\n. Can\nbe overridden by giving --no-keep-cr from the command line. See git-am(1), git-\nmailsplit(1).\n\nam.threeWay\nBy default, git am will fail if the patch does not apply cleanly. When set to true, this\nsetting tells git am to fall back on 3-way merge if the patch records the identity of\nblobs it is supposed to apply to and we have those blobs available locally (equivalent to\ngiving the --3way option from the command line). Defaults to false. See git-am(1).\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "git-apply(1), git-format-patch(1).\n",
                "subsections": []
            },
            "GIT": {
                "content": "Part of the git(1) suite\n\nGit 2.43.0                                   07/02/2025                                    GIT-AM(1)",
                "subsections": []
            }
        }
    }
}