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

Abort repository error when cloning in Sourcetree on new mac installation

joshmoto December 21, 2021

Very strange issue, just setting up new mac with Sourcetree.

 

Installed Sourcetree and added my bitbucket account to preferences.

 

Successfully signed in using OAuth bitbucket google account...

Screenshot 2021-12-21 at 10.44.02.png

Which has created my ssh keys here...Screenshot 2021-12-21 at 10.47.20.png

I then added this to my .ssh config...Screenshot 2021-12-21 at 11.02.57.png

My repositories all load fine in Sourcetree remote tab...

Screenshot 2021-12-21 at 10.47.49.png

But when I try to clone my repo, there is spinning wheel and it never loads any branch information...

Screenshot 2021-12-21 at 11.00.jpg

If I try to clone this, I get repo abort repository error...

Screenshot 2021-12-20 at 12.17.44.png

I'm really struggling to figure out what I've done wrong here, I've never had this issue before setting up on other macs.

 

Any suggestions would be amazing thanks.

1 answer

1 vote
joshmoto December 21, 2021

Ok so I'm pretty sure I've worked out the problem.

 

For some reason I thought Sourcetree would automatically add the generated SSH key to my bitbucket account...

 

...but I remember now, I have to manually manage ssh keys in my bitbucket account settings.

 

I will update tomorrow... but I am 100% sure by adding my newly generated key (for my office mac), to my bitbucket SSH keys settings will fix the issue 👌🏼

 

https://bitbucket.org/account/settings/ssh-keys/

 

Screenshot 2021-12-21 at 21.23.50.png

 

I will update here tomorrow when I've fixed the issue. 👍🏼

joshmoto December 22, 2021

Nope, by adding the SSH key to my keys does not fix the issue.


I am still getting the same abort error.

Like ammar likes this
ammar December 11, 2022

Did you solve that?

coz I'm still getting it

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events