Download a Git repo from BitBucket

bitbucket, download, git

Solution

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://usersname@bitbucket.org/username/reponame.git

Problem

I just download Git bash and now I want to download a repository from Bitbucket. I have the username and password. When I try: ``` $ git clone https://xxxxx@bitbucket.org/xxxx/xxxxx.git ``` I get: ``` Cloning into 'xxxx'... fatal:https://xxxxx@bitbucket.org/xxxx/xxxxx/info/refs not found did you git update server-info on the server ? ```

Original source