diff options
author | Ben Burwell <ben@benburwell.com> | 2019-08-13 14:46:35 -0400 |
---|---|---|
committer | Ben Burwell <ben@benburwell.com> | 2019-08-13 14:46:35 -0400 |
commit | a2449bf178f96df726ae09328ab2482dd6c6c283 (patch) | |
tree | 4eb78d9480adbf2e18060f6fb0bc0ece597d7346 /templates | |
parent | 665fa6c7bb17904bb391ee9b242b5de991117967 (diff) |
git: adopt
Diffstat (limited to 'templates')
-rw-r--r-- | templates/.config/hub | 5 | ||||
-rw-r--r-- | templates/.gitconfig | 57 | ||||
-rw-r--r-- | templates/.gitignore | 8 |
3 files changed, 70 insertions, 0 deletions
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 <ben@benburwell.com> + 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 |