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

0 vote

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 Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

699 views 0 4
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot