In Stash, how is it possible to cherry pick a change onto a branch that the developer doesn't have direct write access to?

In our configuration, we have:

master ----> (read access)
    develop ----> (read access)
         support/1.0.x ----> (read, write access)

the developer creates a remote off of support/1.0.x and when they are complete does a pull request. However, the change will need to be propagated to develop, where they don't have write access. Before we adopted Stash, they would simply cherry pick onto develop. However, since they don't have write access to develop, how can they propagate the change to develop without making a new pull request?

2 answers

1 accepted

With or without a pull request, the person who propagates the change to develop needs to have write access to that branch. There is (by design) no trick that would allow a user who does not have write access to a branch to get changes into that branch.

You can either restrict write access to a certain group of people by setting the appropiate branch permissions or you can enable write access to all the users. (Depends on how many people you have and how much you trust them.)

With or without a pull request, the person who propagates the change to develop needs to have write access to that branch. There is (by design) no trick that would allow a user who does not have write access to a branch to get changes into that branch.

You can either restrict write access to a certain group of people by setting the appropiate branch permissions or you can enable write access to all the users. (Depends on how many people you have and how much you trust them.)

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

22,317 views 26 12
Join discussion

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