Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

Abort repository error when cloning in Sourcetree on new mac installation


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

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 👌🏼


Screenshot 2021-12-21 at 21.23.50.png


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

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

I am still getting the same abort error.

Suggest an answer

Log in or Sign up to answer
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...

7,257 views 5 14
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