Add AWS profile for code commit (AWS CLI)

PHOTO EMBED

Tue Jan 17 2023 10:29:34 GMT+0000 (Coordinated Universal Time)

Saved by @swina #aws #codecommit #aws-cli

git config --local credential.helper \
    '!aws codecommit credential-helper \
    --profile _profile_name_ $@'
git config --local credential.UseHttpPath true
content_copyCOPY