git: Add 'git-publish' config file

The `git-publish`[1] tool is a wrapper around `git-format-patch` and
`git-send-email`.  It's a handy tool that automates some of the tedious
aspects of manual patch submission:

  - Submitting a patch to the list (with a small config in place) is as
    simple as `git publish`

  - On next revisions, it automatically increments version numbers

  - It auto-copies the list of To: and Cc: from your previous iteration

  - It lets you preview/edit emails before submission

  - You can also use standard `git-format-patch` and `git-send-email`
    options with `git publish`

  - You can send pull requests with `git publish --pull-request`

  - It also provides custom hooks ... and more[2]

[1] https://github.com/stefanha/git-publish
[2] https://github.com/stefanha/git-publish/blob/master/git-publish.pod

Signed-off-by: Kashyap Chamarthy <kchamart@redhat.com>
(cherry picked from commit 8487e906d4)
This commit is contained in:
Kashyap Chamarthy
2022-05-18 15:55:39 +02:00
committed by Richard W.M. Jones
parent b95c7f60c7
commit f604d43935

3
.gitpublish Normal file
View File

@@ -0,0 +1,3 @@
[gitpublishprofile "default"]
base = master
to = libguestfs@redhat.com