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

Branches: set different default destination branch (BB-10403)

XMLWordPrintable

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      It seems that in a given repository, there is only one "main" branch. This of course makes sense in most cases.

      However, when we want to have a long running "legacy" branch, it would be nice to still be able to use gitflow on that. While Bitbucket does not support gitflow directly, it does tell you that your branch is out of sync with the repo's main branch (when looking at the /

      {repo name}

      /branch/

      {branch name}

      page).

      It would be nice to be able to specify a different "main" branch for a given branch (including specifying none for the legacy "develop" branch, in gitflow parlance).

      In our example, we have a regular "develop" branch (and master of course), and then the "feature/foo" branches under it.

      For legacy, I created a legacy/develop, legacy/master and use standard gitflow branches under the legacy/ prefix. So in other words, I want to have no main branch for "legacy/develop" and specify the main branch on the "legacy/feature/*" branches.

        1. 1198483264-Screen%20Shot%202019-04-30%20at%2010.32.28%20AM.png
          78 kB
          Dan Delaney
        2. 1289014065-pull%20destination.png
          20 kB
          Derek Price
        3. 1891202837-20180328-mercurial-1-.png
          79 kB
          shin ohira
        4. 2149422320-20180328-TortoiseHg-1-.png
          107 kB
          shin ohira
        5. 562409127-branch-view.png
          24 kB
          Derek Price
        6. 918744398-branch%20base.png
          23 kB
          Derek Price

            Unassigned Unassigned
            406dda91b734 Ben
            Votes:
            197 Vote for this issue
            Watchers:
            153 Start watching this issue

              Created:
              Updated: