From 76e7d1988be2871b0f6060ab71ca0545d0618944 Mon Sep 17 00:00:00 2001
From: Patrick Spek
Date: Mon, 19 Jul 2021 10:26:34 +0200
Subject: Update gitconfig for use with aws codecommit
---
.config/git/config | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/.config/git/config b/.config/git/config
index 71d9035..0e48086 100644
--- a/.config/git/config
+++ b/.config/git/config
@@ -29,12 +29,18 @@
pager = less -R
excludesfile = ~/.config/git/ignore
+[credential "https://git-codecommit.eu-central-1.amazonaws.com"]
+ helper = !aws --profile "$AWS_PROFILE" codecommit credential-helper $@
+
[diff]
tool = vimdiff
[difftool]
prompt = false
+[init]
+ defaultBranch = master
+
[merge]
tool = vimdiff
@@ -50,5 +56,3 @@
email = p.spek@tyil.nl
name = Patrick Spek
signingkey = 1660F6A2DFA75347322A4DC07A6AC285E2D98827
-[init]
- defaultBranch = master
--
cgit v1.1