• Community
  • Products
  • Bitbucket
  • Questions
  • How can we stop people merging without a code review? They should be forced to fork and push to their fork and only approved changes from the fork merged. They flow should be the same for everyone. anyone pushes, anyone else reviews.

How can we stop people merging without a code review? They should be forced to fork and push to their fork and only approved changes from the fork merged. They flow should be the same for everyone. anyone pushes, anyone else reviews.

Stash...

This seems like a big hole in how the review approval process works.

we've seen people accidently clone the main repo instead of their fork.  Their pushes go straight in, no review.

how do we prevent this? 

 

Sorry, for topic I didn't see git/stash anywhere.  Don't know what topic to add.

 

 

to the guy who answered...I can't reply to your reply...

can you be more specific?

we already require that PRs have a reviewer approve it.

but that doesn't stop someone from going in the back door.

Where do you set such permissions?  I don't see anything in the GUI

1 answer

0 vote

In the branch permissions, you can add a permission to prevent changes without a pull request. This would force users to create a pull request from the fork instead of check in directly to the main repo.

PS: For the topic, select bitbucket-server.

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...

23,813 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