I created a repository on my local machine.
I tried to push it to github
git push origin master
I added the remote repository.
git remote add origin git@github.com:.... .git
But when I push to the repository it gives an error
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
- I removed all the ssh keys from github
- This is a private repository