git log --show-signature
Displays the git log with GPG signatures.
This command displays the commit history ('log') in a git repository, but with an addition of GPG signatures.
If a commit has been signed with a GPG key, it will display the signature information for that commit. This is useful for verifying the authenticity of commits if they were supposed to be signed.
The command git log
on its own simply shows the commit history. You can tweak how the log is shown by using other flags such as -p
to show the difference introduced in each commit or --stat
to show stats about changes in each commit.