From a5cd6f45cac750f048e2f3b832ba4f22a666a7a6 Mon Sep 17 00:00:00 2001 From: Iain Samuel McLean Elder Date: Fri, 12 Jul 2024 17:47:51 +0200 Subject: [PATCH] Use credential helper for CodeCommit --- scripts/.gitconfig | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/.gitconfig b/scripts/.gitconfig index cf10f981..0e77d1b4 100644 --- a/scripts/.gitconfig +++ b/scripts/.gitconfig @@ -33,7 +33,11 @@ helper = helper = !az account get-access-token --query accessToken --output tsv | xargs printf 'password=%s\n' [credential "https://git-codecommit.eu-west-1.amazonaws.com"] - provider = generic + helper = !aws codecommit credential-helper $@ + UseHttpPath = true +[credential "https://git-codecommit.eu-central-1.amazonaws.com"] + helper = !aws codecommit credential-helper $@ + UseHttpPath = true [credential "https://github.com"] helper = helper = !/usr/bin/gh auth git-credential