How to use multiple accounts management on one local repo

Hello,

I'm working on a project using bitbucket with a small teams and we are facing troubles using a shared local repo.

We have a shared private bitbucket repo which works well. We cloned it using https on a virtual machine server where we all connect using ssh (with our own personnal ssk key). But the only one able to manage it is the one who cloned it. (I assume because the remote url is something like "username@bitbucket.org/<repo>")

We tried to set up the git config user.name / email but permissions are denied. So I gave a look at the Team management on bitbucket but we are facing the same problems.

Do you know how we can use multiple bitbucket accounts for the same local repo so that everyone is able to manage it?

Thanks in advance!

1 answer

This widget could not be displayed.

This isn't really a Bitbucket problem - it has to do with file permissions on the shared virtual machine. You'll need to do one of the following:

1. Have the original cloner, or somebody with admin rights on the VM, adjust file permissions on the local repo so that everybody in the group can do what they need to do. I can't help you with details on this, since it depends entirely on the specifics of the virtual machine and its operating system. This may also be very complicated to maintain on some configurations.

2. Give everybody their own VM, where they can clone, push, pull, and make changes as themselves.

3. Have everybody use their own system to work on the repo.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,328 views 8 11
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you