Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Could not clone a Bitbucket repo to SourceTree 3.0.8

Kouichi C_ Nakamura October 25, 2018

I have cloned lots of repos before, so I should know what I'm doing, but I could not clone a repo using SourceTree 3.0.8 using System Git (2.19.1.windows.1)

 

From the `Clone` button of Bitbucket, I copied the URL below

`https://myusername@bitbucket.org/myusername/reponame.git`

and pasted it to Clone tab of SourceTree, but it said

> This is not a valid source path / URL

Neither

`https://bitbucket.org/myusername/reponame.git`

or

`https://bitbucket.org/myusername/reponame`

worked.

However, from command line, `https://myusername@bitbucket.org/myusername/reponame.git` just worked fine.

I suspect that this can be a new bug. So I report this here.

1 answer

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 25, 2018

Hi Kouichi!

Can you expand the error message and see what it says? I've tried reproducing this issue and in my case I was getting the error:

fatal: I don't handle protocol 'git clone https'

Then I removed the 'git clone' part from the URL I cloned from Bitbucket and it worked. Can you double check this is not happening to you as well?

Let us know!

Ana

Kouichi C_ Nakamura October 25, 2018

No I'm not pasting "git clone " command to the box for an URL.

I tried it for another repo and got this error.

 

Command: git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks ls-remote https://myusername@bitbucket.org/myusername/reponame.git
Output:
Error: fatal: ArgumentException encountered.
   An item with the same key has already been added.
remote: Too many invalid password attempts. Log in at https://id.atlassian.com/ to restore access.
fatal: unable to access 'https://myusername@bitbucket.org/myusername/reponame.git/': The requested URL returned error: 403

 

Kouichi C_ Nakamura November 22, 2018

It's been a month, but I still cannot clone via SourceTree GUI.

It ways "Invalid username or password".

But I'm using the registered Bitbucket account.

Opening my Bitbucket account by Options > Authentication > Accounts > Edit, Edit Hosting Account window shows "Authentication OK".

Is there anything else I can do to fix this problem?

 

Pasting the command shown in the Clone this repository dialong of Bitbucket into MINGW64 terminal works. So it is a valid source path and authentication should be OK.

 

 

Like Joakim Poromaa likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events