From 423da27b649ee136390847f1ef0aefb7725a0bf0 Mon Sep 17 00:00:00 2001 From: Tobias Reisinger Date: Sun, 19 Jan 2020 02:02:25 +0100 Subject: [PATCH] add: git send-email and git credential helper --- .config/git/config | 14 ++++++++++++-- .config/pass-git-helper/git-pass-mapping.ini | 2 ++ 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 .config/pass-git-helper/git-pass-mapping.ini diff --git a/.config/git/config b/.config/git/config index 0f0a014..c4566f4 100644 --- a/.config/git/config +++ b/.config/git/config @@ -15,9 +15,19 @@ prompt = false [alias] dt = difftool - d = diff + d = diff + b = branch -vv [merge] tool = vimdiff conflictstyle = diff3 [mergetool] - prompt = false + prompt = false +[credential] + helper = /usr/bin/pass-git-helper +[format] + signOff = yes +[sendemail] + smtpserver = mail.serguzim.me + smtpuser = tobias@msrg.cc + smtpencryption = tls + smtpserverport = 587 diff --git a/.config/pass-git-helper/git-pass-mapping.ini b/.config/pass-git-helper/git-pass-mapping.ini new file mode 100644 index 0000000..6ebc9b6 --- /dev/null +++ b/.config/pass-git-helper/git-pass-mapping.ini @@ -0,0 +1,2 @@ +[mail.serguzim.me:587] +target=mail/${username}