How to work with two different BitBucket accounts in SourceTree

前端 未结 9 427
天命终不由人
天命终不由人 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:38

    If I understand your question correctly, you still need to do a little bit more set of your bitBucket accounts.

    You can also test the BitBucket server to see which account you are logging in with.

    ssh -v git@bitbucket.org
    

    This link help me, follow these instructions here and you should be successful.

    The key part you need is in you .git/config.

    You'll need separate entries for each.

    Use different SSH keys for different accounts on the same Git hosting

提交回复
热议问题