From 5042a947e5e90011b09d834a3a17adacbb39a6de Mon Sep 17 00:00:00 2001 From: Martijn Braam Date: Thu, 27 Oct 2022 22:43:56 +0200 Subject: [PATCH] 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]. --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 005e7bc1..de3554f3 100644 --- a/README.md +++ b/README.md @@ -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