How to work with two different BitBucket accounts in SourceTree

前端 未结 9 441
天命终不由人
天命终不由人 2021-02-01 13:00

I have two different bitbucket accounts set up. One is for work projects and one is for personal use. In BitBucket I have set up a repository in each of the accounts for diffe

9条回答
  •  星月不相逢
    2021-02-01 13:37

    In Windows you may have more than one account (you can have even GitHub and BitBucket side by side). For example, assuming the account you have now in SourceTree is with BitBucket and you want to add your GitHub account to it as well, do the following:

    1. From menu, choose File->New/Clone
    2. In the Source Path/URL put the repository url for a repository you have on github
    3. Wait for a few seconds and it asks you for username/password. (first, buttons might be disabled for example for entering your password. So wait for a few seconds first)
    4. Add the new username and passowrd on github.
    5. Now if you like you can cancel the clone.

提交回复
热议问题