***EDIT Yes, I know there are other posts with the answer! What do you think I have doing the last 5 hours? NONE of those questions matched mine. But you would have to read the whole post instead of just the title. AND to be fair, every comment so far has yet give an answer, only that it is best practice to use SSH. Which is totally fine, that's what I will do. But to mark my question as duplicate, it's not. ***END
Pulling my hair out here. Tried everything SO has suggested, but nothing works. I am running on Ubuntu 21.04, git version 2.30.2, and the repo is hosted on AWS CodeCommit if that makes any difference.
When I cloned the repo, I added my username/password manually, and everything works fine. I then follow the instructions:
git config --global user.name 'MyUsername'
git config --global user.password 'PasswordGivenToMeByAWSx+QrkXg/CIxJjxuNo='
git pull
I do those commands, just like that, in that order, and I am then prompted to type in my username. What am I doing wrong?