gitbitbucketclone

How to clone a bitbucket repository?


Getting back to work after a while it seems I don't know how to clone a bitbucket repository. Any idea why I get the "not found" error?

git clone --verbose https://bitbucket.org/helllamer/mod_openid
Cloning into 'mod_openid'...
remote: Not Found
fatal: repository 'https://bitbucket.org/helllamer/mod_openid/' not found

System:

git version 1.9.1
uname -a Linux openvpnas2 3.13.0-44-generic #73-Ubuntu SMP Tue Dec 16 00:22:43 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Solution

  • This is a Mercurial repository, not a Git repository. Bitbucket supports both systems.

    Clone with:

    hg clone https://bitbucket.org/helllamer/mod_openid
    

    For more information about Mercurial please see its Wikipedia page.