I'm using a docker container to access a git repo through aws (don't know if that makes any difference). I've tried using a .netrc
file in my home dir in the container but it still asks me for username and password when pulling from the git repo.
Is it a problem with the netrc file or am I just going about it the wrong way?
.netrc
file:
machine https://git-codecommit.xxx.amazonaws.com
login *login*
password *password*
the netrc file is in the home/main
dir in my container but any git pull request still asks for credentials