Find a specific branch from the branch list (remote and local).
Git::Release - Release Process Manager
use Git::Release; my $manager = Git::Release->new; my @branches = $manager->branch->ready_branches; my @branches = $manager->branch->site_branches; my @branches = $manager->branch->feature_branches; my @branches = $manager->branch->hotfix_branches; my @branches = $manager->branch->find_branches( prefix => 'hotfix' ); my @branches = $manager->branch->find_branch( name => 'feature/test' ); my $current_branch = $manager->branch->current; my $prefix = $manager->get_ready_prefix; # ready/ my $prefix = $manager->get_site_prefix; # site/ my $prefix = $manager->get_hotfix_prefix; # hotfix/
Git::Release is a release manager for Git.
It's based on the basic concepts of git workflow.
Yo-An Lin <cornelius.howl {at} gmail.com>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Git::Release, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Git::Release
CPAN shell
perl -MCPAN -e shell install Git::Release
For more information on module installation, please visit the detailed CPAN module installation guide.