delete-git-branches - Interactively delete git branches
$ git branch * delete-branches foo foo-bar foo-bar-baz foo-bar-baz-qux master $ delete-git-branches 1> foo 2> foo-bar 3> foo-bar-baz 4> foo-bar-baz-qux 5> master Which branch(es) would you like to delete? : 1 2 3 4 $ git branch * delete-branches master
Interactive command line script which allows you to select one or many git branches to delete. Use
ctrl-c to exit without deleting any branches.
Includes remote branches when enabled.
$ delete-git-branches --all 1> foo-bar-baz 2> foo-bar-baz-qux 3> master 4> remotes/origin/cpan-repo 5> remotes/origin/delete-branches 6> remotes/origin/foo
A regex to filter git branches against.
$ delete-git-branches --grep foo 1> foo-bar-baz 2> foo-bar-baz-qux
Olaf Alders <firstname.lastname@example.org>
This software is copyright (c) 2015-2019 by Olaf Alders.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.