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

Allow users to delete git branches through the UI (BB-3336)

    XMLWordPrintable

Details

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

    Description

      The syntax for deleting a git branch on a remote server is as follows:

      #!bash
      
      git remote -v
      #copy the {branch-name} from the returned list
      git push {repo_url} :{branch-name}
      

      The essentially tells the remote git, match up my local branch (nothing on the left of the with the remote branch

      {branch-name}

      effectively removing the remote branch. There should probably be a way to do this on the site as well.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mbertrand aMarcus (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: