Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git-verify-commit: add page #5946

Merged
merged 16 commits into from
May 16, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions pages/common/git-verify-commit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# git verify-commit

> Check for GPG verification of commits.
> If no commits are verified, nothing will be printed, regardless of options specified.
> More information: <https://git-scm.com/docs/git-verify-commit>.

- Check commits for a GPG signature:

`git verify-commit {{commit_hash1 optional_commit_hash2 ...}}`

- Check commits for a GPG signature and show details of each commit:

`git verify-commit {{commit_hash1 optional_commit_hash2 ...}} --verbose`

- Check commits for a GPG signature and print the raw details:

`git verify-commit {{commit_hash1 optional_commit_hash2 ...}} --raw`