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

Cloning a Github repository spins and does nothing (Mac)



I am a Sourcetree user on Mac. I had it setup on a previous Mac with no issue, but was recently upgraded to a new machine. In trying to setup Sourcetree on the new Mac, nothing happens when I attempt to Clone the Github repository. The app says its working, but there is no folder created, no connection with Github (SSH key says it hasn't been accessed), no errors. Just spins indefinitely, like HOURS. I've compared the Sourcetree config on the old and new machines and it is identical. Can someone guide me here? Thanks



1 answer

1 accepted

0 votes
Answer accepted

Turns out, when Sourcetree creates the SSH keys, it should also be creating a known_hosts file in the same folder, but was not. I grabbed the known_hosts file from my previous Mac and migrated it over. This got the job done and the repo is cloning as expected!

@Sunil Mathew How to migrate known_hosts from my previous Mac to new one

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

5,798 views 4 12
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