1
0
mirror of synced 2025-12-23 11:54:18 -05:00
Files
docs/content/github/authenticating-to-github/error-permission-to-userrepo-denied-to-userother-repo.md
2020-11-02 15:12:44 -06:00

779 B

title, intro, redirect_from, versions
title intro redirect_from versions
Error: Permission to user/repo denied to user/other-repo 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.
/articles/error-permission-to-user-repo-denied-to-user-other-repo
/articles/error-permission-to-userrepo-denied-to-userother-repo
free-pro-team enterprise-server github-ae
* * *

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.