I'm having problems pushing to git. Whenever I execute "git pull," it pulls from the repo I need. However, when I execute "git push" after committing, I get the following error:
Permission denied
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
I verified that my ssh key is accurate. I only have one ssh key so I think it's unlikely that git is using the wrong key. "git pull" works fine. "My git config --list" shows the following:
user.name=myusername
user.email=myemail
push.default=current
remote.origin.url=theCorrectURL
branch.thebranchiwannapushto.remote=origin
branch.thebranchiwannapushto.merge=refs/heads/branchname
mergetool.prompt=false