From 4f3f4c7cfb8ed39bb29e4faf6853d532901e0d3f Mon Sep 17 00:00:00 2001 From: Ben Burwell Date: Thu, 12 Dec 2019 16:37:31 -0500 Subject: git: only use osx keychain on osx --- templates/.gitconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3