aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Burwell <ben@benburwell.com>2019-12-12 16:37:31 -0500
committerBen Burwell <ben@benburwell.com>2019-12-12 16:37:31 -0500
commit4f3f4c7cfb8ed39bb29e4faf6853d532901e0d3f (patch)
tree01d43e3376b6972886a57a33c05449974731b161
parent84e02cbaad8e7a60d4f5be174c91c8e8ed48335d (diff)
git: only use osx keychain on osx
-rw-r--r--templates/.gitconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/.gitconfig b/templates/.gitconfig
index 06df8ff..688a058 100644
--- a/templates/.gitconfig
+++ b/templates/.gitconfig
@@ -1,11 +1,12 @@
-# Ansible managed
# vim: ft=gitconfig
[user]
name = Ben Burwell
email = ben@benburwell.com
signingkey = 666112D967A36ECD
+{{ if eq .OS "darwin" }}
[credential]
helper = osxkeychain
+{{ end }}
[color]
diff = auto
status = auto