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
Clone a Bitbucket repositoryClick + in the global sidebar on the left, and under Get to work select Clone this repository. Select HTTPS from the menu in the upper-right (unless you've already set up your SSH keys). Copy the clone command.
Go to the bitbucket repository that you want to clone, on the left pane, there is a clone option. Clicking that will give you a link to the repository. Copy that and try git clone url-from-bitbucket . This should work!
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
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With