Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Can't clone repo to sourcetree

Ben Hebert
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 13, 2019

This doesn't work for Https or SSH. My boss gave me permissions to the repo and through the bitbucket website I can see the file hierarchy and all the source code. However, I can't clone it to sourcetree. It keeps saying "this is not a valid source path/ url" and the detailed error message is

Please make sure you have the correct access rights
and the repository exists.
git@bitbucket.org: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

 

Often it will prompt me to enter my bitbucket password at this point, and when I do, it keeps asking me again and again and again. What is happening? Please do help me.

1 answer

0 votes
Mike Corsaro
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 13, 2019

Hello!

 

Please make sure you have the latest version of Sourcetree installed, as well as the latest version of git-for-windows (assuming you're using windows).

When installing the latest version make sure you check the box labeled "Install the git-credential-manager-for-windows". Then, restart Sourcetree and try again.

Ben Hebert
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 13, 2019

I am on a Mac, does this change the install process?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events