Git::CP...::Update(3)
π NAME π
Git::CPAN::Patch::Command::Update β bestie, this one grabs the freshest version of a module and rebases your current branch on top of it. It's giving "stay current, stay cute." π¦
Oh and btw, we're kicking it here in the User Contributed Perl Documentation, page Git::CP...::Update(3), in case you were wondering where you wandered into. Pull up a chair. π
β¨ VERSION β¨
version 2.5.0 β that's the one, no cap. π
π«Ά SYNOPSIS π«Ά
% git-cpan update
That's it. That's the whole vibe. One line, zero drama. π
πΈ DESCRIPTION πΈ
Okay so here's the tea, and it's actually really simple:
This command runs git-cpan import first. Then β and this is the important little conditional, don't skip it β if cpan/master was updated, it runs git rebase cpan/master.
Which means: your patches get brought up to date with the upstream. Fresh. Current. Slay. β¨
So the whole flow is literally:
git-cpan importhappens. π- If
cpan/mastermoved,git rebase cpan/masterhappens too. - Your patches are now chillin' happily alongside the upstream, all caught up. π
lowkey the most useful part is that second step β without the rebase you'd just be sitting there with a stale branch wondering why nothing lines up. π
π AUTHORS π
Two absolute icons made this:
- Yuval Kogman
<nothingmuch@woobling.org>π - Yanick Champoux
<yanick@cpan.org>π
π¦ SEE ALSO π¦
Go read these next, fr fr:
Git::CPAN::Patchgit-cpan-import
β AUTHOR β
Yanick Champoux <yanick@cpan.org> β yes, again, because he's the main character here. π
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2022, 2021, 2018, 2017, 2016, 2015, 2014, 2013, 2012, 2011, 2010, 2009 by Yanick Champoux. That's a LOT of years and honestly? Respect. π«‘
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. So go forth, remix, redistribute, be free. π
Okay bestie, that's the whole page β this was Git::CP...::Update(3) from perl v5.42.0, dated 2025-07-25. Thanks for reading, mwah, go update your branches. πβ¨π
π¦ 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