From a2449bf178f96df726ae09328ab2482dd6c6c283 Mon Sep 17 00:00:00 2001 From: Ben Burwell Date: Tue, 13 Aug 2019 14:46:35 -0400 Subject: git: adopt --- templates/.config/hub | 5 +++++ templates/.gitconfig | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++ templates/.gitignore | 8 ++++++++ 3 files changed, 70 insertions(+) create mode 100644 templates/.config/hub create mode 100644 templates/.gitconfig create mode 100644 templates/.gitignore (limited to 'templates') diff --git a/templates/.config/hub b/templates/.config/hub new file mode 100644 index 0000000..1bf5d43 --- /dev/null +++ b/templates/.config/hub @@ -0,0 +1,5 @@ +# vim: ft=yaml +github.com: +- user: benburwell + oauth_token: {{ pass "github/oauth-token" }} + protocol: https diff --git a/templates/.gitconfig b/templates/.gitconfig new file mode 100644 index 0000000..06df8ff --- /dev/null +++ b/templates/.gitconfig @@ -0,0 +1,57 @@ +# Ansible managed +# vim: ft=gitconfig +[user] + name = Ben Burwell + email = ben@benburwell.com + signingkey = 666112D967A36ECD +[credential] + helper = osxkeychain +[color] + diff = auto + status = auto + branch = auto + ui = true +[core] + excludesfile = ~/.gitignore + autocrlf = false + filemode = false + precomposeUnicode = true +[apply] + whitespace = nowarn +[mergetool] + keepBackup = false +[difftool] + prompt = false +[help] + autocorrect = 1 +[push] + default = simple +[pull] + default = simple +[help] + autocorrect = 0 +[commit] + gpgsign = true +[filter "lfs"] + required = true + clean = git-lfs clean -- %f + smudge = git-lfs smudge -- %f + process = git-lfs filter-process +[gpg] + program = gpg +[sendemail] + from = Ben Burwell + envelopeSender = auto + smtpuser = + smtpserver = "/usr/local/bin/msmtp" + smtpserveroption = "--account=fastmail" + smtpencryption = tls + chainreplyto = false + confirm = auto + annotate = yes +[rebase] + autoSquash = true +[github] + user = benburwell +[ghi] + token = !security find-internet-password -a benburwell -s github.com -l 'ghi token' -w diff --git a/templates/.gitignore b/templates/.gitignore new file mode 100644 index 0000000..293d7fd --- /dev/null +++ b/templates/.gitignore @@ -0,0 +1,8 @@ +.DS_Store +*~ +*.swp +.agignore +tags +.idea +*.iml +Session.vim -- cgit v1.2.3