To fix this, the owner of the repository (user
) needs to add your account (other-user
) as a collaborator on the repository or to a team that has write access to the repository.
Explore by product
GitHub
Get startedGitHubEnterprise administratorsBilling and paymentsOrganizationsCode securityGitHub IssuesGitHub ActionsGitHub CodespacesGitHub PackagesDevelopersREST APIGraphQL APIGitHub InsightsGitHub DiscussionsGitHub SponsorsBuilding communitiesGitHub PagesEducationGitHub DesktopGitHub CLIAtomElectronCodeQL
Error: Permission to user/repo denied to other-user
This error means the key you are pushing with is attached to an account which does not have access to the repository.
Help us make these docs great!
All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.
Make a contribution