Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,458,226
Community Members
 
Community Events
176
Community Groups

What is the best way to have a shared local repo on our production server?

Hi,

We are hosting our site on a local server and want to be able to have multiple, different, users able to log into the server and pull the master repo, hosted at Bitbucket, whenever there is an update. What would be the best way to go about doing this?

Thanks for any help or suggestions you can offer.

David

1 answer

1 accepted

0 votes
Answer accepted
Caroline R Atlassian Team Apr 18, 2022

Hi, @David Benjamin, welcome to the community! 

In order to have multiple users working on a repository hosted in Bitbucket Cloud, you just need to add them to this repository. After that, they will be able to clone this repo to their local machines, work on it locally, and then push their changes to the remote repository. 

In order to add a user to a repository, you can follow one of these two options:

  • Add users directly to the repository you want them to have access to:

    • Open your repository in Bitbucket Cloud > go to Repository settings > User and group access

    • Select Add members

    • Add the email address of the users you would like to add to this repo and select which type of access you want to grant to this group 

    • They will receive an invitation to join this repository  
  • Create a group and add the users to this group: 

    • Access your workspace in Bitbucket > go to Settings

    • Open User groups > Create group

    • Fill in the required fields and click on Confirm

    • Open the group > go to Add member 

    • Inform the email address of the users you would like to add to this group

    • Open your repository > Repository settings > User and group access

    • Select Add members > add the group you have created and select which type of access you want to grant to this group 

Besides that, we have a great Git tutorial, in case you would like to read more about that:

I hope this helps, but do let me know if you have any questions. 

Kind regards, 
Caroline 

Hi @Caroline R,

Thanks for the welcome!

I think that I need to clarify my question. What I am asking is how to set up a shared local repository on a server (if that is possible ¯\_(ツ)_/¯ ). This would allow two separate users to enter the local directory where the repository is housed, pull from the origin's master repository, and merge if needed.

Caroline R Atlassian Team Apr 25, 2022

Hi, David, thanks for the additional information. 

I understand that you would like to know how to have the clone directory accessed by different local users, is that correct? If that’s the case, this is a little bit out of our scope, as this is related to your OS. I believe the following links might help you: 

Kind regards,
Caroline

Thanks Caroline! Sorry to be out of scope but I appreciate your help in finding direction.

Best,

David

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events