Accepted answer

go to team > remote > push… from the menu. select your repository, and click next. under remote ref to delete… select your branch and click add spec. then click finish. this should delete the remote branch.



(update march 2012)

as tukushan mentions in the comment:

in egit 1.3.0, this only deletes the remote tracking branch in the local repository, not the remote branch.

as michael mior details in his (upvoted) answer, you need to push "nothing" to the remote branch : git push origin :branch, which from git1.7+ is better coded as git push origin --delete branch.

with egit, see "delete ref specifications section":

remote ref to delete in egit

(original answer december 2011)

you can also check out the very latest release of egit (1.2, released yesterday december 23rd, 2011). you now have another way to delete a remote

from its egit/new and noteworthy/1.2:

in the commit graph area, there is a new context menu action "delete branch" allowing to delete a branch.
it will be enabled if a branch exists for the currently selected commit, which is not checked out.
if there is a single branch on this commit, which is not checked out, this action will delete this branch immediately.
if multiple such branches exist, a dialog will be shown asking which branches should be deleted.
if commits become unreachable on "delete branch" a confirmation dialog will be shown to prevent accidental unreachability of commits.

it remains to be tested if that option can delete a branch for a commit on a remote namespace (a commit part of a remote repo and fetched in your local repo).

Related Query

More Query from same tag