Sourcetree ist eine grafische Oberfläche für Git, Mercurial sowie Services wie GitHub und BitBucket.
Wichtig ist Schritt 3: Der eigene SSH-Public-Key muss in BitBucket/Atlassian hinterlegt werden!
Steps:
1. Ensure you have a SSH key first. Or create one on the command line:
ssh-keygen -t rsa -b 4096 -C „your_email@example.com“
2. Copy your new generated key with:
pbcopy < ~/.ssh/id_rsa.pub
3. Login to bitBucket and go to Setting → SSH. Add a new key by Pasting it!
4. Now go back to your command line and type
ssh-add -K ~/.ssh/id_rsa
5. DONE. You can now open source tree and clone a branch.