1. Bitbucket
  2. Public Issue Tracker
  3. master
  4. Issues


Issue #5928 resolved

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

Marcus Bertrand
staff created an issue

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

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.

Comments (4)

  1. Log in to comment