The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Git::CPAN::Patch::Command::Clone - Clone a CPAN module's history into a new git repository

VERSION

version 2.3.1

SYNOPSIS

  # 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

DESCRIPTION

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.

If the target directory is omitted, then the "humanish" part of the distribution is used.

AUTHORS

Mike Doherty <doherty@cpan.org>

Yanick Champoux <yanick@cpan.org>

SEE ALSO

Git::CPAN::Patch, git-cpan-init, git-cpan-import

AUTHOR

Yanick Champoux <yanick@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 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.