App::Git::Workflow::Repository - A basic wrapper around GIT
This documentation refers to App::Git::Workflow::Repository version 1.1.17
use App::Git::Workflow::Repository qw/git/; # get the git object based on the current directory my $git = git(); # call git sub commands $git->log('--oneline'); $git->show('123ABC'); $git->status();
This is a thin wrapper around Git that will default to using the current directory for git, adds a simple way of calling git sub-commands as methods.
git
new (%options)
Returns a new App::Git::Workflow::Repository
git ()
Singleton to get the last created App::Git::Workflow::Repository object or create a new one.
App::Git::Workflow::Repository
There are no known bugs in this module.
Please report problems to Ivan Wills (ivan.wills@gmail.com).
Patches are welcome.
Ivan Wills - (ivan.wills@gmail.com)
Copyright (c) 2014 Ivan Wills (14 Mullion Close, Hornsby Heights, NSW Australia 2077). All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
To install App::Git::Workflow, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Git::Workflow
CPAN shell
perl -MCPAN -e shell install App::Git::Workflow
For more information on module installation, please visit the detailed CPAN module installation guide.