memory-leaks

Still reachable: lots of words in many pages.
git clone https://git.kevinlegouguec.net/memory-leaks
Log | Files | Refs | README | LICENSE

commit 667fee6df8cfdcc91d6d8273c175167198d8f856
parent 5ace09ec2f5c4b34077fcf0e586d860cb5e67ff3
Author: Kévin Le Gouguec <kevin.legouguec@gmail.com>
Date:   Mon, 12 Jan 2026 18:38:24 +0100

Prepare a /git folder for more Git-related notes

Diffstat:
Dguides/applications/git.org | 40----------------------------------------
Aguides/applications/git/send-email.org | 40++++++++++++++++++++++++++++++++++++++++
2 files changed, 40 insertions(+), 40 deletions(-)

diff --git a/guides/applications/git.org b/guides/applications/git.org @@ -1,40 +0,0 @@ -* ~send-email~ with ~.authinfo.gpg~ -** Step 1: Install ~git-credential-netrc~ -AFAICT not all distributions package this script? As far as those I -use are concerned: - -- On Debian, the =git= package brings - =/usr/share/doc/git/contrib/credential/netrc/git-credential-netrc.perl=, - but the file is not executable, so it's not as simple as symlinking - it from =~/.local/bin=: it must be =cp='ed and =chmod='ed. - -- openSUSE does not include anything from =contrib=, I think? So just - grab =contrib/credential/netrc/git-credential-netrc.perl= from the [[https://git.kernel.org/pub/scm/git/git.git/][Git - repository]], stick it in =~/.local/bin= and =chmod= it. - -Now ~git help --all | grep credential-~ should show =credential-netrc=. - -** Step 2: Configure ~git send-email~ -In =~/.gitconfig=, assuming a GMail account for =luser@gmail.com=: - -#+begin_src conf -[sendemail] - smtpencryption = tls - smtpserver = smtp.gmail.com - smtpuser = luser - smtpserverport = 587 -#+end_src - -Most =send-email= guides seem to use the full email address for -=smtpuser=; I'm putting in just the /local-part/, since that's what is in -my =~/.authinfo.gpg=. - -** Step 3: Configure ~git-credential~ -In =~/.gitconfig=: - -#+begin_src conf -[credential] - helper = netrc -#+end_src - -** Step 4: Enjoy 📨 diff --git a/guides/applications/git/send-email.org b/guides/applications/git/send-email.org @@ -0,0 +1,40 @@ +* =.authinfo.gpg= +** Step 1: Install ~git-credential-netrc~ +AFAICT not all distributions package this script? As far as those I +use are concerned: + +- On Debian, the =git= package brings + =/usr/share/doc/git/contrib/credential/netrc/git-credential-netrc.perl=, + but the file is not executable, so it's not as simple as symlinking + it from =~/.local/bin=: it must be =cp='ed and =chmod='ed. + +- openSUSE does not include anything from =contrib=, I think? So just + grab =contrib/credential/netrc/git-credential-netrc.perl= from the [[https://git.kernel.org/pub/scm/git/git.git/][Git + repository]], stick it in =~/.local/bin= and =chmod= it. + +Now ~git help --all | grep credential-~ should show =credential-netrc=. + +** Step 2: Configure ~git send-email~ +In =~/.gitconfig=, assuming a GMail account for =luser@gmail.com=: + +#+begin_src conf +[sendemail] + smtpencryption = tls + smtpserver = smtp.gmail.com + smtpuser = luser + smtpserverport = 587 +#+end_src + +Most =send-email= guides seem to use the full email address for +=smtpuser=; I'm putting in just the /local-part/, since that's what is in +my =~/.authinfo.gpg=. + +** Step 3: Configure ~git-credential~ +In =~/.gitconfig=: + +#+begin_src conf +[credential] + helper = netrc +#+end_src + +** Step 4: Enjoy 📨