Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/book/git-repository-plugin-autoload
Git subcommands as Git::Repository methods
https://github.com/book/git-repository-plugin-autoload
Last synced: about 1 month ago
JSON representation
Git subcommands as Git::Repository methods
- Host: GitHub
- URL: https://github.com/book/git-repository-plugin-autoload
- Owner: book
- Created: 2014-01-10T08:25:13.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2018-03-04T17:59:42.000Z (almost 7 years ago)
- Last Synced: 2024-10-03T12:36:57.785Z (4 months ago)
- Language: Perl
- Size: 12.7 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README
- Changelog: Changes
Awesome Lists containing this project
README
NAME
Git::Repository::Plugin::AUTOLOAD
SYNOPSIS
use Git::Repository 'AUTOLOAD';
my $r = Git::Repository->new();
$r->add($file);
$r->commit( '-m' => 'message' );# NOTE: might be overridden by the 'Log' plugin
my $log = $r->log('-1');# use "_" for "-" in command names
my $sha1 = $r->rev_parse('master');# can be used as a class method
Git::Repository->clone( $url );DESCRIPTION
This module adds an "AUTOLOAD" method to Git::Repository, enabling it
to automagically call git commands as methods on Git::Repository
objects.SEE ALSO
Git::Repository, Git::Repository::Plugin.
AUTHOR
Philippe Bruhat (BooK)
COPYRIGHT
Copyright 2014-2016 Philippe Bruhat (BooK), all rights reserved.
LICENSE
This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.