summaryrefslogtreecommitdiff
path: root/devdocs/git/git-verify-commit.html
blob: caa893b420fa9c192dbde60d9bec3ad8bd63e487 (plain)
1
2
3
4
5
6
<h1>git-verify-commit</h1>  <h2 id="_name">Name</h2> <div class="sectionbody">  <p>git-verify-commit - Check the GPG signature of commits</p>  </div>   <h2 id="_synopsis">Synopsis</h2> <div class="sectionbody"> <div class="verseblock"> <pre class="content" data-language="shell">git verify-commit [-v | --verbose] [--raw] &lt;commit&gt;…​</pre> </div> </div>   <h2 id="_description">Description</h2> <div class="sectionbody">  <p>Validates the GPG signature created by <code>git commit -S</code>.</p>  </div>   <h2 id="_options">Options</h2> <div class="sectionbody"> <div class="dlist"> <dl> <dt class="hdlist1" id="Documentation/git-verify-commit.txt---raw"> --raw </dt> <dd> <p>Print the raw gpg status output to standard error instead of the normal human-readable output.</p> </dd> <dt class="hdlist1" id="Documentation/git-verify-commit.txt--v"> -v </dt> <dt class="hdlist1" id="Documentation/git-verify-commit.txt---verbose"> --verbose </dt> <dd> <p>Print the contents of the commit object before validating it.</p> </dd> <dt class="hdlist1" id="Documentation/git-verify-commit.txt-ltcommitgt82308203"> &lt;commit&gt;…​ </dt> <dd> <p>SHA-1 identifiers of Git commit objects.</p> </dd> </dl> </div> </div><div class="_attribution">
  <p class="_attribution-p">
    &copy; 2012&ndash;2024 Scott Chacon and others<br>Licensed under the MIT License.<br>
    <a href="https://git-scm.com/docs/git-verify-commit" class="_attribution-link">https://git-scm.com/docs/git-verify-commit</a>
  </p>
</div>