I encountered the same problem as Unable to resolve host: bitbucket.org; nodename or servname, or unknown . I tried the ip address provided in the comment, but it also gave the same message. Please help solve the problem. 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
Sometimes we make mistakes when setting up our proxy. Perhaps this will help reset your proxy.
git config --global --unset http.proxy git config --global --unset https.proxy
When creating a repository in a bitbucket, the user interface displays the cloning command you need:
So your clone command should be:
https: // usersname@bitbucket.org /username/reponame.git