I just generated an SSH key and added it to my ssh-agent in a Linux Mint terminal. I think copied the content of the .pub
file and pasted into the GitHub repo box to add the key. The repo accepted the key, everything seems to be working. I call git pull
and it works. I call add
and commit
and everything seems fine.
But then I call git push -u origin main
and I get
ERROR: Permission to axiomtutor/axiomtutor.git denied to deploy key fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
https://stackoverflow.com/questions/66913523/can-pull-for-git-repo-but-not-push April 02, 2021 at 09:46AM
没有评论:
发表评论