git command to delete branches interactively
Install git-dd with gem:
gem install git-dd
- Run
git ddto select branches to delete. Use arrow keys, press Space to select and Enter to finish.
The merged/unmerge status show whether the branch has been merged into current branch.
- Run
git dd --mergedto delete all branches have been merged into current branch.
Press Ctrl + c to return.