~sircmpwn/public-inbox

git-send-email.io: add example command to automatically configure subject for git send-email v1 PROPOSED

toogley
toogley: 2
 add example command to automatically configure subject for git send-email
 add tutorial-repo & patch mailinglist to footer

 2 files changed, 13 insertions(+), 0 deletions(-)
I think both of these are already covered in the tips on the last page
of the tutorial.
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~sircmpwn/public-inbox/patches/10606/mbox | git am -3
Learn more about email & git

[PATCH git-send-email.io 1/2] add example command to automatically configure subject for git send-email Export this patch

toogley
---
 index.html | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/index.html b/index.html
index 701fc56..aa53732 100644
--- a/index.html
+++ b/index.html
@@ -333,7 +333,14 @@
              "foobar" project:
            </p>
            <pre>git config format.subjectPrefix "PATCH foobar"</pre>
	    <p>
	      Alternatively, you can also use this command to send your email:
	    </p>
	    <pre>git send-email --to="~sircmpwn/email-test-drive@lists.sr.ht" \
	    --subject-prefix="PATCH ${PWD##*/}" HEAD^</pre>
          </div>
	  This will automatically configure the Subject. For this project, it
	  would generate "PATCH email-test-drive".
          <div class="well">
            <h3>Using --annotate every time</h3>
            <pre>git config --global sendemail.annotate yes</pre>
-- 
2.26.2

[PATCH git-send-email.io 2/2] add tutorial-repo & patch mailinglist to footer Export this patch

toogley
---
 index.html | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/index.html b/index.html
index aa53732..5cd463f 100644
--- a/index.html
+++ b/index.html
@@ -707,6 +707,12 @@
        open source Git &amp; Mercurial hosting, continuous integration,
        mailing lists, and <strong>no JavaScript</strong>!
        <a href="https://meta.sr.ht/register">Try it today</a>!
	<p>
	Want to improve this tutorial? Great. You can find the source code on
	<a href="https://git.sr.ht/~sircmpwn/git-send-email.io">here</a>. Send
	patches to <a
	href="mailto:~sircmpwn/public-inbox@lists.sr.ht">~sircmpwn/public-inbox@lists.sr.ht</a>.
	</p>
      </footer>
    </div>
  </body>
-- 
2.26.2
I think both of these are already covered in the tips on the last page
of the tutorial.
View this thread in the archives