Git::CPAN::Patch::Command::Clone - Clone a CPAN module's history into a new git repository
version 2.2.0
# from a specific tarball $ git-cpan clone http://... $ git-cpan clone /path/to/Foo-Bar-0.03.tar.gz # from CPAN, module and dist names are okay $ git-cpan clone Foo::Bar $ git-cpan clone Foo-Bar # can also specify the directory to create $ git-cpan clone Foo-Bar my_clone
Clones a CPAN distribution. If a tarball is given, either locally or via an url, it'll be used. If not, git-cpan will try to find the distribution or module. If it has an official git repository, it'll be cloned. If not, the history will be created using the CPAN releases.
git-cpan
If the target directory is omitted, then the "humanish" part of the distribution is used.
Mike Doherty <doherty@cpan.org>
<doherty@cpan.org>
Yanick Champoux <yanick@cpan.org>
<yanick@cpan.org>
Git::CPAN::Patch, git-cpan-init, git-cpan-import
This software is copyright (c) 2015 by Yanick Champoux.
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 Git::CPAN::Patch, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Git::CPAN::Patch
CPAN shell
perl -MCPAN -e shell install Git::CPAN::Patch
For more information on module installation, please visit the detailed CPAN module installation guide.