I have a number of business repositories at my company's account, but I also have a few personal repositories with a different login.

After I added my company account I cannot access my personal repositories unless they are public. I understand this is an issue with SourceTree, possibly able to circumvent using keys.. 

Is there no way to use two different accounts? As SourceTree does support adding multiple accounts.

3 answers

If you're trying to use the extended integration, you should be able to add multiple accounts in the Hosted Repositories dialog.

If you are just using github as a simple remote git repo, there shouldn't be any reason why you couldn't have repositories with different credentials.

Thanks, but any idea why this is a problem?

I can add multiple accounts in Hosted Repositories, but another discussion suggested that there may be an error in handling them.

I can access my personal repositories if I make them public, which suggests that my path / location is correct.

And I can access my company's private repositories without problem, which suggests that accessing private repositories is not a problem.

Further, if I set my repository as public, clone, update a file, commit and push.. I get an error that my company's users is not allow access.. even though my personal account is set as default, and the repository is cloned using my personal account information.

Suggest an answer

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

269 views 0 3
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot