Git::CPAN::Patch::Command::Clone(3)

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

VERSION
version 2.5.0

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) 2022, 2021, 2018, 2017, 2016, 2015, 2014, 2013, 2012, 2011, 2010, 2009 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.