zygimantus
zygimantus

Reputation: 3777

How to remove a git branch in Netbeans?

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?

enter image description here

Upvotes: 12

Views: 11315

Answers (1)

Pavel Vergeev
Pavel Vergeev

Reputation: 3380

Here's how I proceed in Netbeans 8.1 (without using the terminal):

  1. Team -> Repository -> Repository browser.
  2. Repository browser is opened on the bottom. Go Branches -> Local (or Remote, depending on which one you need to delete).
  3. Select the branch you want to delete, right click on it, and choose Delete option.

enter image description here

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.

Upvotes: 35

Related Questions