Skip to content

Commit f4ac443

Browse files
pbo-linarostsquad
authored andcommitted
docs/devel: add git-publish for patch submitting
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Message-Id: <20241209183104.365796-3-pierrick.bouvier@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20250116160306.1709518-33-alex.bennee@linaro.org>
1 parent 7b2c988 commit f4ac443

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

docs/devel/submitting-a-patch.rst

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,31 @@ to another list.) ``git send-email`` (`step-by-step setup guide
235235
works best for delivering the patch without mangling it, but
236236
attachments can be used as a last resort on a first-time submission.
237237

238+
.. _use_git_publish:
239+
240+
Use git-publish
241+
~~~~~~~~~~~~~~~
242+
243+
If you already configured git send-email, you can simply use `git-publish
244+
<https://github.com/stefanha/git-publish>`__ to send series.
245+
246+
::
247+
248+
$ git checkout master -b my-feature
249+
$ # work on new commits, add your 'Signed-off-by' lines to each
250+
$ git publish
251+
$ ... more work, rebase on master, ...
252+
$ git publish # will send a v2
253+
254+
Each time you post a series, git-publish will create a local tag with the format
255+
``<branchname>-v<version>`` to record the patch series.
256+
257+
When sending patch emails, 'git publish' will consult the output of
258+
'scripts/get_maintainers.pl' and automatically CC anyone listed as maintainers
259+
of the affected code. Generally you should accept the suggested CC list, but
260+
there may sometimes be scenarios where it is appropriate to cut it down (eg on
261+
certain large tree-wide cleanups), or augment it with other interested people.
262+
238263
.. _if_you_cannot_send_patch_emails:
239264

240265
If you cannot send patch emails

0 commit comments

Comments
 (0)