Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,362,950
Community Members
 
Community Events
168
Community Groups

Cloning a Github repository spins and does nothing (Mac)

Edited

Hello,

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

 

Sourcetree.png

1 answer

1 accepted

1 vote
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

I had a similar problem and I was able to migrate my known_hosts file over by going to Finder > Go > Go to Folder and then searching for ~/.ssh Once I had found the file I just used airDrop to transfer it to my new Mac.

Like Luis Regueira likes this

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events