Clone CodeCommit Repo from HTTPS

Option 1: Use git cli

git config --global credential.helper '!aws codecommit credential-helper $@'
git config --global credential.UseHttpPath true 

Option 2: Set the below content in `~/.gitconfig`

[credential]
        helper = !aws --region ap-south-1 codecommit credential-helper $@
        UseHttpPath = true

Last updated