Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Intellij delete multiple local branches

Using Intellij IDE (I have version 2017.3.5) is there a way to delete multiple local git branches at once

like image 996
Marquis Blount Avatar asked May 02 '18 05:05

Marquis Blount


People also ask

How do I delete local branches in Intellij?

In the Branches popup or from the Branches pane of the Git tool window, right-click the branch you want to delete and choose Delete.

Should I delete local branches?

They're unnecessary. In most cases, branches, especially branches that were related to a pull request that has since been accepted, serve no purpose. They're clutter. They don't add any significant technical overhead, but they make it more difficult for humans to work with lists of branches in the repository.


1 Answers

You can delete multiple branches in IntelliJ IDEA directly.

Go to tab Git / Log. There open the Tree view on the left side. Check this picture:

enter image description here

Source: https://youtrack.jetbrains.com/issue/IDEA-131571

like image 161
mojmir.novak Avatar answered Sep 17 '22 17:09

mojmir.novak