Reputation: 467
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://[email protected]/PATH/TO/REPO.git
Cloning into 'REPO'...
fatal: unable to access 'https://[email protected]/PATH/TO/REPO.git/': Could not resolve host: bitbucket.org
Upvotes: 9
Views: 20031
Reputation: 3021
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
or one liner
git config --global --unset http.proxy https.proxy
Upvotes: 19
Reputation: 367
When you create a repository in bitbucket, the user interface displays the exact clone command you need for you:
So, your clone command would need to be:
https://[email protected]/username/reponame.git
Upvotes: 3