diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2025-01-14 22:48:35 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2025-01-14 23:26:44 +0100 |
| commit | cf8a3f15ee1c80b874be10cbdd34496b84560f59 (patch) | |
| tree | c7a77d6938c6d8d539a6ae1e72160732d440ccf5 /guides/git.org | |
| parent | faf50994d58d2651a2ab1bb1ed94dce1feb246bd (diff) | |
| download | memory-leaks-cf8a3f15ee1c80b874be10cbdd34496b84560f59.tar.xz | |
Sort guides up a bit
Diffstat (limited to 'guides/git.org')
| -rw-r--r-- | guides/git.org | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/guides/git.org b/guides/git.org deleted file mode 100644 index bf42130..0000000 --- a/guides/git.org +++ /dev/null @@ -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 📨 |
