LinuxCommandLibrary

git-verify-commit

Verify GPG signatures of commits

TLDR

Verify signed commit

$ git verify-commit [commit]
copy
Verify multiple commits
$ git verify-commit [commit1] [commit2]
copy
Show raw signature
$ git verify-commit --raw [commit]
copy
Verbose output
$ git verify-commit -v [commit]
copy

SYNOPSIS

git verify-commit [options] commit...

DESCRIPTION

git verify-commit checks GPG signatures of commits. It verifies that commits were signed with valid GPG keys, confirming the authenticity and integrity of the commit author.
This command is useful in workflows that require signed commits for security or compliance purposes.

PARAMETERS

-v, --verbose

Print commit contents.
--raw
Print raw signature.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community