delete-git-branches - Interactively delete git branches
version 0.000016
$ 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.
ctrl-c
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 <olaf@wundercounter.com>
This software is copyright (c) 2015-2018 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.
To install Git::Helpers, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Git::Helpers
CPAN shell
perl -MCPAN -e shell install Git::Helpers
For more information on module installation, please visit the detailed CPAN module installation guide.