I am using Netbeans 8 with Git plugin. I have a branch that I would like to delete, but I don't see an option for that. How to do it?
Asked
Active
Viewed 1.1k times
11
-
1_Generally in Git you can delete a branch from a remote repository with the push command and specifying a certain attribute to it. True that's not possible in the IDE either, but i have no plans to implement it since i consider this a not widely used feature and not worth the effort. Just use commandline for branch removal_ https://netbeans.org/bugzilla/show_bug.cgi?id=209644 – Lars Nielsen Apr 17 '15 at 11:58
1 Answers
33
Here's how I proceed in Netbeans 8.1 (without using the terminal):
- Team -> Repository -> Repository browser.
- Repository browser is opened on the bottom. Go Branches -> Local (or Remote, depending on which one you need to delete).
- Select the branch you want to delete, right click on it, and choose Delete option.
I know I'm late, but I hope it'll help somebody in the future.
Footnote: Make sure you're not currently active in the branch you want to delete as the delete option will be greyed out. Switch to another branch then you can delete the one you need.

Michael Cropper
- 872
- 1
- 10
- 28

Pavel Vergeev
- 3,060
- 1
- 31
- 39