A
A
adrash kh2019-04-02 11:36:03
git
adrash kh, 2019-04-02 11:36:03

What to do with an error when cloning a repository?

Yesterday they downloaded a remote repository to me on tmp, today I began to set up a web server in order to deploy this site at home. But when I do a git clone on my var/www/ I get a
fatal error: Failed to read from external repository.
Make sure you have the necessary permissions
and the repository exists.
What is the problem here? Is this my fault or what?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Fedorov, 2019-04-02
@Maksclub

Is this my fault or what?

Guilt :) no rights to the repository and that's it, without any fault.
Check:
- in Github/Bitbucket/Gitlab you must have read access to the repository
- your ssh keys must be added for the user

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question