Hi Community,
I'm new here and I would like to ask you a question:
I have two account on github, named A and B, both have private repositories. I have set the accounts and relative credentials on Sourcetree. Well while I try to sync (fetch, pull or push) private repo of the account A while A is the default account, no problem. While I try to sync private repo of the account B while B is the default account, no problem. But as soon as I try to sync a private repo of the account A while B is the default... it trow an error "repository xyz not found". So I have to go to tools/options/authentication and set A as default, come back to the main windows and now everything is working... for account A...
On the help page https://confluence.atlassian.com/sourcetreekb/sourcetree-for-windows-1-10-0-authentication-and-accounts-updates-867186698.html it is written that
"t is also possible to set an account as the default for a hosting service like Bitbucket. This means SorceTree uses these credentials (the username and Basic Auth password or OAuth token) when no username is specified in a Mercurial or Git URL."
And in the "remote details" pane (from the setting icon on the up-right main windows) I think I have correctly set all the information (including "username"):
remote: my_remote
URL/PATH: https://github.com/A/xyz
Host type: github
Host root URL: https://github.com (I cannot change this vale...)
Username: A
What have I miss? Can you help me to fix it?
Thank you very much,
Corrado.
System info:
- Window 10
- Sourcetree 2.4.7.0