about summary refs log tree commit diff
path: root/site/pyonji.html
blob: fbd6661928f1c792a947bbe98db0a4476d52ff33 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="thumbnail" content="/media/services/thumbnail.jpg">
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="alternate" type="application/rss+xml" title="RSS Feed" href="/links/rss.xml">
<link rel="stylesheet" type="text/css" href="/links/main.css">
<link rel="shortcut icon" type="image/png" href="/media/services/icon.png">
<title>gzr.im &mdash; pyonji</title>
</head>
<body>
<header>
<a href="/"><img src="/media/interface/logo.svg" alt="gzr.im"></a>
</header>
<nav>
<section>
    <ul class="nobull capital">
        <li><a href="/site/about.html">about</a></li>
    </ul>
</section>
<section>
    <ul class="nobull capital">
        <li><a href="/site/japan.html">japan</a></li>
        <li><a href="/site/books.html">books</a></li>
    </ul>
</section>
</nav>
<main>
<!-- Generated file, do not edit -->
<!-- Generated file, you may edit and discard src/inc/pyonji.md :) -->
<span class="date">
2025-01-08
</span>
<p><a href="https://git.sr.ht/~emersion/pyonji">pyonji</a> is a useful
tool to send patches to mailing lists, to contribute to projects hosted
on <a href="https://sr.ht/projects">sr.ht</a> for example. It is a
friendly TUI alternative to using <code>git-send-email</code> directly,
but there are still some essentials to note:</p>
<ol type="1">
<li><p>ensure th <a
href="https://git-scm.com/docs/git-config/2.22.1#Documentation/git-config.txt-formatsubjectPrefix">to
address</a> is set (or pass <code>--to</code>)<br />
<code>git config --local sendemail.to</code></p></li>
<li><p>use <code>origin/master</code> or <code>HEAD~n</code> for the
<code>--base</code> option, this determines what is included in the
patch series</p></li>
<li><p>when sending to a public-inbox style list, ensure the <a
href="https://git-scm.com/docs/git-config/2.22.1#Documentation/git-config.txt-formatsubjectPrefix">subject
prefix</a> is set<br />
<code>git config --local format.subjectprefix</code></p></li>
<li><p>when writing the cover letter, note that the first paragraph is
parsed as the subject of the patch series, see <a
href="https://git-scm.com/docs/git-format-patch#Documentation/git-format-patch.txt---cover-from-descriptionltmodegt">–cover-from-description</a></p></li>
</ol>
</main>
<footer>
<span style="">
Edited on 2025-01-08 <a href="https://git.sr.ht/~robertgzr/site/tree/master/src/inc/pyonji.htm">[edit]</a>
</span>
<br>
<b>robertgzr</b>
&mdash;
<a href="https://git.sr.ht/~robertgzr/site/blob/master/LICENSE.content" target="_blank">BY-NC-SA 4.0</a>
</footer>
</body>
</html>