{
    "mode": "man",
    "parameter": "git-verify-commit",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/git-verify-commit/1/json",
    "generated": "2026-10-20T09:43:55Z",
    "synopsis": "git verify-commit [-v | --verbose] [--raw] <commit>...",
    "sections": {
        "NAME": {
            "content": "git-verify-commit - Check the GPG signature of commits\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "git verify-commit [-v | --verbose] [--raw] <commit>...\n\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Validates the GPG signature created by git commit -S.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "--raw",
                    "content": "Print the raw gpg status output to standard error instead of the normal human-readable\noutput.\n",
                    "long": "--raw"
                },
                {
                    "name": "-v, --verbose",
                    "content": "Print the contents of the commit object before validating it.\n\n<commit>...\nSHA-1 identifiers of Git commit objects.\n",
                    "flag": "-v",
                    "long": "--verbose"
                }
            ]
        },
        "GIT": {
            "content": "Part of the git(1) suite\n\nGit 2.43.0                                   07/02/2025                         GIT-VERIFY-COMMIT(1)",
            "subsections": []
        }
    },
    "summary": "git-verify-commit - Check the GPG signature of commits",
    "flags": [
        {
            "flag": "",
            "long": "--raw",
            "arg": null,
            "description": "Print the raw gpg status output to standard error instead of the normal human-readable output."
        },
        {
            "flag": "-v",
            "long": "--verbose",
            "arg": null,
            "description": "Print the contents of the commit object before validating it. <commit>... SHA-1 identifiers of Git commit objects."
        }
    ],
    "examples": [],
    "see_also": [],
    "tldr": {
        "source": "official",
        "description": "Check for GPG verification of commits.",
        "examples": [
            {
                "description": "Check commits for a GPG signature",
                "command": "git verify-commit {{commit_hash1 optional_commit_hash2 ...}}"
            },
            {
                "description": "Check commits for a GPG signature and show details of each commit",
                "command": "git verify-commit {{commit_hash1 optional_commit_hash2 ...}} {{-v|--verbose}}"
            },
            {
                "description": "Check commits for a GPG signature and print the raw details",
                "command": "git verify-commit {{commit_hash1 optional_commit_hash2 ...}} --raw"
            }
        ]
    }
}