Home>
$git clone [email protected]: ########/#######. git

I want to clone the above.

Cloning into '#####' ...
ERROR: Repository not found.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.

It does n’t work. I don't understand much how to build an environment using docker.
If i can tell me how to write if possible.

  • Answer # 1

    The URL of the repository you are trying to clone ([email protected]: ########/#######. git< Is/code>) correct? If it is wrong, correct the URL and try again. If it seems correct, make sure that the repository is not private, and if it is a private repository, make sure you have permission to access it.

    I think this is more about git than docker. If you want to ask a question about the problem that occurred when building the docker environment after resolving this issue, please use the "Question" button separately.

  • Answer # 2

    I think it's the answer from yukkeorg, but I thought there were other points that I should check.
    I haven't even confirmed it, so please forgive me if you're talking about anything wrong.

    SSH connection, so it's a good idea to check if$HOME/.ssh/configis correct.
    For example, is the host namegithub.com?

    I think the Github user manual is also helpful.