Git clone from bitbucket.org not working https

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 
+6
source share
2 answers

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 
+16
source

When creating a repository in a bitbucket, the user interface displays the cloning command you need:

a busy cat

So your clone command should be:

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

+3
source

All Articles