I want to clone codecommit repo using username password inside clone URL. I am using following
URL:
git clone https://username:password@git-codecommit.eu-west-1.amazonaws.com/v1/repos/sample-repo
But I am getting this error:
fatal: unable to access 'https://username:password@git-codecommit.eu-west-1.amazonaws.com/v1/repos/sample-repo/' : Port number ended with 'c'
whereas this method worked for another account without issue, is there any permission issue on credentials.
I removed special character / from password and replaced it with escape character that fixed my problem.
Escape Character for / is %2F