Dist::Zilla::Role::Git::Remote::Check - Check a remote branch is not ahead of a local one
version 0.2.0
report_commits
skip_if_not_current
is_current_branch
should_skip
check_remote
Recommended application order if using this role:
sub branch { } with "Dist::Zilla::Role::Plugin"; with "Dist::Zilla::Role::Git::LocalRepository"; with "Dist::Zilla::Role::Git::LocalRepository::LocalBranches"; with "Dist::Zilla::Role::Git::LocalRepository::CurrentBranch"; with "Dist::Zilla::Role::Git::RemoteNames"; with "Dist::Zilla::Role::Git::RemoteName"; with "Dist::Zilla::Role::Git::Remote::Branch"; with "Dist::Zilla::Role::Git::Remote::Check";
branch
Must be implemented by the consuming plugin. ( Presently I know of no roles that provide this method ).
Must return a string value of a branch name, e.g.: master
master
current_branch
Must return the name (String) of the branch we are currently on, or return false if we are not on a branch.
Must be one of the branches listed by git branch
git branch
log
log_fatal
remote_branch
Kent Fredric <kentnl@cpan.org>
This software is copyright (c) 2013 by Kent Fredric <kentnl@cpan.org>.
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 Dist::Zilla::Plugin::Git::Remote::Check, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dist::Zilla::Plugin::Git::Remote::Check
CPAN shell
perl -MCPAN -e shell install Dist::Zilla::Plugin::Git::Remote::Check
For more information on module installation, please visit the detailed CPAN module installation guide.