aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/.config/hub5
-rw-r--r--templates/.gitconfig57
-rw-r--r--templates/.gitignore8
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