To fix this, remove the deploy key from the repository, and add the key to your user account instead.
If the key you are using is intended to be a deploy key, check out our guide on deploy keys for more details.
This error means the key you are pushing with is attached to another repository as a deploy key, and does not have access to the repository you are trying to push to.
Want to learn about new docs features and updates? Sign up for updates!
We're continually improving our docs. We'd love to hear how we can do better.
Thank you! Your feedback has been submitted.
All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.
Make a contributionTo fix this, remove the deploy key from the repository, and add the key to your user account instead.
If the key you are using is intended to be a deploy key, check out our guide on deploy keys for more details.
Want to learn about new docs features and updates? Sign up for updates!
We're continually improving our docs. We'd love to hear how we can do better.
Thank you! Your feedback has been submitted.
All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.
Make a contribution