Error 403 When trying to clone a private shared repo #49341
Replies: 2 comments
-
|
Could you share the exact and full commands you used and output you got? You can censor the repository name, but the details matter. The error message you already shared seems odd at least, because cloning shouldn't require write access (it only copies data from remote to your machine). |
Beta Was this translation helpful? Give feedback.
-
|
The "Error 403" message you're seeing typically indicates that you're not authorized to access the resource you're trying to reach. In the case of a private shared repository on GitHub, this could mean that you don't have the necessary permissions to clone the repository. Here are a few things you can try to troubleshoot this issue:
|
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
Me and a project partner are trying to use GitHub to collaborate on our code for a class. He set up the repository, made it private, and invited me as a collaborator. Every time I try to use git clone to download the repo to my machine, I get error 403, and the message "remote: write access to repository not granted." How do I fix this?
Beta Was this translation helpful? Give feedback.
All reactions