Pergunta

I am facing the same problem as Could not resolve host: bitbucket.org; nodename nor servname provided, or not known. I have tried ip address given in comment, but it also gave the same message. Please, help to solve the issue. Here is the error code:

    MYNAME@DEVELOPER8 /d/Projects
    $ git clone https://MYNAME@bitbucket.org/PATH/TO/REPO.git
    Cloning into 'REPO'...
    fatal: unable to access 'https://MYNAME@bitbucket.org/PATH/TO/REPO.git/': Could not resolve host: bitbucket.org
Foi útil?

Solução

Sometimes we make mistakes configuring our proxy. Maybe this can help, reset your proxy.

git config --global --unset http.proxy
git config --global --unset https.proxy

Outras dicas

When you create a repository in bitbucket, the user interface displays the exact clone command you need for you:

a busy cat

So, your clone command would need to be:

https://usersname@bitbucket.org/username/reponame.git

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top