aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2021-07-19 10:26:34 +0200
committerPatrick Spek <p.spek@tyil.nl>2021-07-19 10:26:34 +0200
commit6f84b2ac7304439c0702853b70586de1bc59fd6d (patch)
tree9372364155f306a9c13ee23d62858e35506558a0
parent6fe22fbf24b9546b7cec7391a0d6d316e6ebdc7f (diff)
downloaddotfiles-6f84b2ac7304439c0702853b70586de1bc59fd6d.tar.gz
dotfiles-6f84b2ac7304439c0702853b70586de1bc59fd6d.tar.bz2
Update gitconfig for use with aws codecommit
-rw-r--r--.config/git/config8
1 files 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