I have a new repository. I set up an ssh-key following the instructions at https://confluence.atlassian.com/bitbucket/set-up-an-ssh-key-728138079.html. I got access to my repository and thought things were fine. I could create new files and add them with "git add". I could commit changes with a message like "git commit -m 'message'". However, when I try to push to my own repository, I get:
repository access denied. access via a deployment key is read-only.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
I go to my repository settings and everything looks fine. It's a public repository from what I can tell from settings. Internet connection is fine. I've googled this and haven't found anything that works. I've never had this problem before, so any suggestions would be much appreciated.