SourceTree for Mac - Repository not found

Hi - I am running the latest build of SourceTree for Mac (2.5.2). I'm working out at a customer site, and they have given me access to one of their private repositories.  I can log in via GitHub.com and create new files.  When I attempt to clone the repository using SourceTree for Mac, I get the error that the URL is not valid and that the repository could not be found.

Clearly the repo exists and my access is OK - what might be causing this issue?

Thanks.

1 answer

Hi James, 

From the description you've provided, it seems that SourceTree is having trouble authenitcating you with the given host for the repository. Could you please provide details on how you are authenicating in SourceTree? If you've added the account in Preferences or provided username/password when you were prompted. If you've added the account in SourceTree, pelase let us know if its OAuth/Basic and https/ssh. If its SSH, kindly make sure the ssh agent on mac has the key added and the server has the necessary key. 

Would be happy to help with the extra info.

 

Thanks!

Hi Manjunath,

Thanks for the reply.  I have added the account in to SourceTree using username/password when initially prompted. The account is OAuth using HTTPS.  I also have 2FA enabled on the account, and when I verify the credentials within SourceTree I am prompted for the second authentication factor which is accepted.

Cheers,

James

It's also worth mentioning that I was able to clone the repository down using GitHub Desktop for Mac without any problems.

Following up on this thread - anything?

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

649 views 0 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you