How to stop pushing/merge directly into branches ATLASSIAN INVESTIGATING

Issue #16129 resolved
Kiran Pachava created an issue

We need your guidance to isolate this

steps to regenerate the issue:-

  1. Clone the bitbucket repo to local machine.
  2. Make some modifications to any of the files
  3. Git add , git commit and git push will directly merge the changes back to any branch given with below information.

Counting objects: 4, done.

Delta compression using up to 4 threads.

Compressing objects: 100% (4/4), done.

Writing objects: 100% (4/4), 915 bytes | 0 bytes/s, done.

Total 4 (delta 2), reused 0 (delta 0)

remote:

remote: Create pull request for develop:

remote: https://bitbucket.org/cloudleaf/build-scripts/pull-requests/new?source=develop&t=1 ------- > if it generates link for approval, is there a way ? remote:

To git@bitbucket.org:cloudleaf/build-scripts.git

a260b68..4a8c7a5 develop -> develop ---> this means it is directly merging to develop branch --- is there a way to put or hold back for approval before merging to it

I know that we can do this only on a separate branch and request a pull request for merging to develop branch, but apart from this solution do you have any ?

Comments (3)

  1. Log in to comment