NAME
delete-git-branches - Interactively delete git branches
VERSION
version 1.000001
SYNOPSIS
$ 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
DESCRIPTION
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.
OPTIONS
- all
-
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
- grep
-
A regex to filter git branches against.
$
delete
-git-branches --
grep
foo
1> foo-bar-baz
2> foo-bar-baz-qux
AUTHOR
Olaf Alders <olaf@wundercounter.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2015 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.