We have a team on bitbucket called 'Klasse', currently with two members: myself and a colleague. I am the admin.
When I push from Source tree to the origin on bitbucket, this always seems to originate from the 'Klasse' team (the repository is owned by the team). When my colleague does a push, this is reflected correctly as coming from his individual account, and not from the team account.
I've spent all day looking at settings, resetting my ssh keys, restarting sourcetree, etc., to no avail.
When I change 'accountname' to my username, the push fails because the repository isn't found.
When I log in to bitbucket, I don't see the repository in my profile either. I *am* listed as a user with read, write and admin rights in the repository's access mgmt screen. The team 'klasse' is listed as the owner and my colleague is listed as the creator.
The account is the owner, which is the team, so the correct URL format would be the team name. Remember on Bitbucket that multiple people could have the same repo name within teams and of themselves, so there needs to be a per-user identifier. The 'ownership' of the repo is the team in this case.
Sorry, I'm being stupid (and wasting your time!). Your public key (~/.ssh/id_rsa.pub) being used is for your team. If you do "cat ~/.ssh/id_rsa.pub" at the terminal you'll probably find that the e-mail address is that of the team.
I have the exact same setup, I'm part of a team on Bitbucket, and I use the SSH URL which contains only details of the team (not of me). It identifies me based on my public key.
Hope that helps
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs