This error comes up every time I try clone any repo from Bitbucket using terminal:
$ git clone https://[email protected]/me/myrepo.git
Cloning into 'blog'...
fatal: unable to access 'https://[email protected]/me/myrepo.git': Could not
resolve host: bitbucket.org; nodename nor servname provided, or not known
I had the same problem with GitHub resolved by replacing 'http' with 'git' protocol which was great! But when I tried that on Bitbucket I got this:
git clone git://[email protected]/me/myrepo.git
Cloning into 'blog'...
fatal: Unable to look up [email protected] (port 9418) (nodename nor servname
provided, or not known)
So I removed 'me@', making it the same as the actual webpage, and the operation just times out. Help?
In your ~/.gitconfig
, is there an [http]
section with a proxy
entry in it? If so, that may be the source of your trouble. (I extracted this idea from a help page link posted above.)
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