README: Document git commands for setting the git-send-email defaults

It's possible to set the default To: address and subject prefix in the
git config of the local checkout. This makes the workflow a bit easier
and makes sure the subject starts with [PATCH pmbootstrap] instead of
the regular [PATCH].
This commit is contained in:
Martijn Braam 2022-10-27 22:43:56 +02:00 committed by Caleb Connolly
parent c1e4790947
commit 5042a947e5
No known key found for this signature in database
GPG Key ID: 0583312B195F64B6
1 changed files with 6 additions and 0 deletions

View File

@ -17,6 +17,12 @@ Send patches via mail or web UI to
~postmarketos/pmbootstrap-devel@lists.sr.ht
```
You can set the default values for sending email in the git checkout
```
$ git config sendemail.to "~postmarketos/pmbootstrap-devel@lists.sr.ht"
$ git config format.subjectPrefix "PATCH pmbootstrap"
```
Run CI scripts locally with:
```
$ pmbootstrap ci