-
-
Save mjnk9xw/379243743d2266cd0b1442f95461cfd2 to your computer and use it in GitHub Desktop.
Fix aws codecommit unable to access repository (The requested URL returned error: 403) in windows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
this was tested using windows10 pro | |
when cloning a git this error was produced | |
fatal: unable to access 'https://git-codecommit.us-east-1.amazonaws.com/v1/repos/RepositoryName': The requested URL returned error: 403 | |
to fix add the following git configuration | |
git config --global credential.helper "!aws codecommit credential-helper $@" | |
git config --global credential.UseHttpPath true | |
check if git has system credential.helper by typing | |
git config --system -l | |
if it has remove it by typing | |
git config --system --unset credential.helper |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment