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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Stash Projects sharing repositories

Deleted user Jun 13, 2013

This is a question about stash projects sharing repositories

Basically in our set up we have several projects that have several git repositories. And most of them share a repository with all the building infrastucture, let's call it X repository. Then we have project A and B that needs that 'make' repo. Project A and B have different permissions.

What I wanted to know if I can create a project and instead of creating a repository I can use this shared X repository. If iI create one X repository for each project A and B , then the repo will be out of sync.

Is there any general strategy to overcome this?



1 answer

1 accepted

3 votes
Answer accepted

Hey Federico,

Stash doesn't provide a way to assign a single repository to two different projects. In this case, I would recommend creating a third project that contained all of your infrastucture code and giving access to both project teams.

If either team only requires read access, then you also might consider keeping the infrastucture code beneath the team that needs write ability, but making it public using Stash 2.5's new public repository feature. This would give all users the ability to read and clone the repo, but only the users who have write permission the ability to push.

Would either of these workarounds work for you?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Marketplace Apps & Integrations

Expose your beautifully crafted Dashboard through the Jira Service Desk Customer Portal

  A picture is worth a thousand words, especially when you're trying to find relationships and understand your data. Here, Dashboards play a vital role in gaining insights from a variety of dat...

376 views 5 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you