| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 3 |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
| 4 |
<head> |
| 5 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| 6 |
<meta name="generator" content="Docutils 0.21.2: https://docutils.sourceforge.io/" /> |
| 7 |
<title>gpg</title> |
| 8 |
<link rel="stylesheet" href="../style.css" type="text/css" /> |
| 9 |
</head> |
| 10 |
<body> |
| 11 |
<div class="document" id="gpg"> |
| 12 |
<span id="ext-gpg"></span> |
| 13 |
<h1 class="title">gpg</h1> |
| 14 |
|
| 15 |
<div class="contents htmlonly topic" id="contents"> |
| 16 |
<p class="topic-title"><a class="reference internal" href="#top">Contents</a></p> |
| 17 |
<ul class="simple"> |
| 18 |
<li><a class="reference internal" href="#commands" id="toc-entry-1">Commands</a><ul> |
| 19 |
<li><a class="reference internal" href="#signing-changes-gpg" id="toc-entry-2">Signing changes (GPG)</a></li> |
| 20 |
</ul> |
| 21 |
</li> |
| 22 |
</ul> |
| 23 |
</div> |
| 24 |
<p>commands to sign and verify changesets</p> |
| 25 |
<div class="section" id="commands"> |
| 26 |
<h1><a class="toc-backref" href="#contents">Commands</a></h1> |
| 27 |
<div class="section" id="signing-changes-gpg"> |
| 28 |
<h2><a class="toc-backref" href="#contents">Signing changes (GPG)</a></h2> |
| 29 |
<div class="section" id="sigcheck"> |
| 30 |
<h3>sigcheck</h3> |
| 31 |
<p>verify all the signatures there may be for a particular revision:</p> |
| 32 |
<pre class="literal-block"> |
| 33 |
hg sigcheck REV |
| 34 |
</pre> |
| 35 |
<p>verify all the signatures there may be for a particular revision</p> |
| 36 |
</div> |
| 37 |
<div class="section" id="sign"> |
| 38 |
<h3>sign</h3> |
| 39 |
<p>add a signature for the current or given revision:</p> |
| 40 |
<pre class="literal-block"> |
| 41 |
hg sign [OPTION]... [REV]... |
| 42 |
</pre> |
| 43 |
<p>If no revision is given, the parent of the working directory is used, |
| 44 |
or tip if no revision is checked out.</p> |
| 45 |
<p>The <tt class="docutils literal">gpg.cmd</tt> config setting can be used to specify the command |
| 46 |
to run. A default key can be specified with <tt class="docutils literal">gpg.key</tt>.</p> |
| 47 |
<p>See <a class="reference external" href="topic-dates.html"><tt class="docutils literal">hg help dates</tt></a> for a list of formats valid for -d/--date.</p> |
| 48 |
<p>Options:</p> |
| 49 |
<table class="docutils option-list" frame="void" rules="none"> |
| 50 |
<col class="option" /> |
| 51 |
<col class="description" /> |
| 52 |
<tbody valign="top"> |
| 53 |
<tr><td class="option-group"> |
| 54 |
<kbd><span class="option">-l</span>, <span class="option">--local</span></kbd></td> |
| 55 |
<td>make the signature local</td></tr> |
| 56 |
<tr><td class="option-group"> |
| 57 |
<kbd><span class="option">-f</span>, <span class="option">--force</span></kbd></td> |
| 58 |
<td>sign even if the sigfile is modified</td></tr> |
| 59 |
<tr><td class="option-group"> |
| 60 |
<kbd><span class="option">--no-commit</span></kbd></td> |
| 61 |
<td>do not commit the sigfile after signing</td></tr> |
| 62 |
<tr><td class="option-group"> |
| 63 |
<kbd><span class="option">-k</span>, <span class="option">--key <var><ID></var></span></kbd></td> |
| 64 |
<td>the key id to sign with</td></tr> |
| 65 |
<tr><td class="option-group" colspan="2"> |
| 66 |
<kbd><span class="option">-m</span>, <span class="option">--message <var><TEXT></var></span></kbd></td> |
| 67 |
</tr> |
| 68 |
<tr><td> </td><td>use text as commit message</td></tr> |
| 69 |
<tr><td class="option-group"> |
| 70 |
<kbd><span class="option">-e</span>, <span class="option">--edit</span></kbd></td> |
| 71 |
<td>invoke editor on commit messages</td></tr> |
| 72 |
<tr><td class="option-group" colspan="2"> |
| 73 |
<kbd><span class="option">-d</span>, <span class="option">--date <var><DATE></var></span></kbd></td> |
| 74 |
</tr> |
| 75 |
<tr><td> </td><td>record the specified date as commit date</td></tr> |
| 76 |
<tr><td class="option-group" colspan="2"> |
| 77 |
<kbd><span class="option">-u</span>, <span class="option">--user <var><USER></var></span></kbd></td> |
| 78 |
</tr> |
| 79 |
<tr><td> </td><td>record the specified user as committer</td></tr> |
| 80 |
</tbody> |
| 81 |
</table> |
| 82 |
</div> |
| 83 |
<div class="section" id="sigs"> |
| 84 |
<h3>sigs</h3> |
| 85 |
<p>list signed changesets:</p> |
| 86 |
<pre class="literal-block"> |
| 87 |
hg sigs |
| 88 |
</pre> |
| 89 |
<p>list signed changesets</p> |
| 90 |
</div> |
| 91 |
</div> |
| 92 |
</div> |
| 93 |
</div> |
| 94 |
</body> |
| 95 |
</html> |