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

This widget could not be displayed.

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.

This widget could not be displayed.

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.

This widget could not be displayed.

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 Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

710 views 1 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