Git::CPAN::Patch(3)
β¨ Git::CPAN::Patch β¨
okay bestie, welcome to Git::CPAN::Patch π (that's the whole NAME, we're not gatekeeping) β literally Patch CPAN modules using Git. yes. that's the vibe. π¦
πΈ VERSION πΈ
version 2.5.0 β she's grown, she's mature, she's on her version 2.5.0 arc π
π SYNOPSIS π
here's the whole little story of how you and your CPAN module are gonna fall in love π«Ά
# import a module:
% git-cpan clone Foo::Bar
% cd Foo-Bar
# hack and submit to RT
# it's probably best to work in a branch
% git checkout -b blah
... hack lib/Foo/Bar.pm ...
% git commit -am "blah"
% git-cpan send-patch
# update the module
# this automatically rebases the current branch
% git-cpan update
no notes. iconic behavior from start to finish π
π DESCRIPTION π
so here's the tea β: Git::CPAN::Patch hands you a whole suite of git commands whose entire job is making it trivially easy to:
- grab any distribution off CPAN,
- stuff it into a local git repository,
- and then β once you've gleefully hacked all over it β send those patches right back to its maintainer.
that's it. that's the whole dream. ππ
NOTE: bestie listen. This module is supported in Linux, BSD, and the like. This module is not supported in Microsoft Windows (Cygwin, Strawberry Perl). π don't do it. for the currently supported operating systems, go peek at the CPAN Testers Matrix: http://matrix.cpantesters.org/?dist=Git-CPAN-Patch
π GIT-CPAN COMMANDS π
the whole girl squad of subcommands, one by one, no skips:
cloneβ Clone a CPAN module's history into a new git repository π±importβ Import a module into a git repository.send-emailβ Usegit-send-emailto submit patches to CPAN RT π§send-patchβ Create patch files and submit then to RTupdateβ Import the latest version of a module and rebase the current branch πformat-patchβ Format patches usingcpan/masteras the origin referencesquashβ Combine multiple commits into one patch π₯whichβ Report upon the managed module π
π AUTHORS π
these two are the founding mothers of the group chat, fr fr:
- Yanick Champoux
<yanick@cpan.org>π - Yuval Kogman
<nothingmuch@woobling.org>β¨
π¦ SEE ALSO π¦
Articles π
The set of scripts that would eventually become Git::CPAN::Patch were first presented in the article CPAN Patching with Git, published in issue 5.1 of The Perl Review β http://theperlreview.com. likeβ¦ lore. actual canon. iykyk.
β 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.
okay that's the whole page bestie, you ate that π
β¨ and just so you know who's speaking, this lil manual page was rendered by perl v5.42.0 on 2025-07-25, from Git::CPAN::Patch(3) β mwah, go patch something, love u π«Άπ
π¦ where this page comes from
- fedora 43: perl-Git-CPAN-Patch 2.5.0-10.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms