Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Two GitHub users

Valgardur Gudjonsson September 16, 2016

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

1 vote
Seth
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 16, 2016

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.

0 votes
Valgardur Gudjonsson September 19, 2016

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.

0 votes
Valgardur Gudjonsson September 18, 2016

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.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events