Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-16129

How to stop pushing/merge directly into branches ATLASSIAN INVESTIGATING

    XMLWordPrintable

Details

    Description

      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 ?

      Attachments

        Activity

          People

            Unassigned Unassigned
            fc5b295f2fff Kiran Pachava
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: