Git::CP...::Clone(3)

πŸ“¦
version 2.5.0 Β· 2 versions
, in fedora 43

πŸ’– NAME πŸ’–

Git::CPAN::Patch::Command::Clone β€” the lil glow-up where you clone a CPAN module's whole entire history into a brand-new git repo ✨

(also, hi, this page lives in the Git::CP...::Clone(3) section of the manual, iykyk πŸŽ€)


🌸 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 πŸ¦‹

okay so bestie, here's the tea β˜• β€” this command clones a CPAN distribution. That's the whole vibe.

  • If you hand it a tarball β€” either sitting locally on your machine or chilling behind an url β€” then that's the one it uses. No questions, no drama. πŸ’…
  • If you don't hand it a tarball, then git-cpan will go hunt down the distribution or the module for you, main character energy and all. πŸ”
  • If that thing has an official git repository? Cloned. Done. Slay. πŸ‘‘
  • If it doesn't have one? Not a problem, not even a little bit β€” the history gets created using the CPAN releases. Iconic behaviour, honestly. πŸ”₯

And if you leave out the target directory entirely? No worries, it just uses the "humanish" part of the distribution as the directory name. Cute, right? πŸŽ€


🫢 AUTHORS 🫢

  • Mike Doherty <doherty@cpan.org>
  • Yanick Champoux <yanick@cpan.org>

🌈 SEE ALSO 🌈

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

go read those too, they're giving ✨companion piece✨ energy fr fr


πŸ’œ AUTHOR πŸ’œ

Yanick Champoux <yanick@cpan.org>


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. πŸ’–

no cap, that's the actual license, go forth and remix responsibly 🧚

okay that's the whole page, bestie!! this was perl v5.42.0, dated 2025-07-25, and it's the Git::CP...::Clone(3) manual you've been reading the entire time πŸ¦‹βœ¨ love that for us, mwah πŸ’…πŸ’–

πŸ“¦ where this page comes from