Yo-An Lin (林佑安) > Git-Release-0.05 > Git::Release::Branch

Download:
Git-Release-0.05.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

parse_remote_name

Parse remote name from ref, like:

    remotes/origin/branch_name

strip_remote_prefix

Strip remotes prefix from branch ref string

    remotes/origin/branch_name

To

    origin/branch_name

prefix

Get branch prefix name, for remote branch, return remotes/{prefix}

For local branch, return {prefix}

create

create branch

local_rename

Rename branch locally.

update_ref

update_ref by branch name

^

SYNOPSIS

    my $branch = $manager->branch->current;
    my $develop = $manager->branch->new_branch( 'develop' )->create( from => 'master' );

    $develop->delete;
    $develop->push;
    $develop->push('origin');
    $develop->push('github');
    $develop->push_to_remotes;

delete_remote_branches

move_to_ready

move_to_released

syntax highlighting: