Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Could not clone a Bitbucket repo to SourceTree 3.0.8

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 Oct 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

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

 

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.

 

 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

3,266 views 4 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you