Git::CP...::Update(3)

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

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

  1. git-cpan import happens. πŸ“
  2. If cpan/master moved, git rebase cpan/master happens too.
  3. 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::Patch
  • git-cpan-import

⭐ AUTHOR ⭐

Yanick Champoux <yanick@cpan.org> β€” yes, again, because he's the main character here. πŸ’…


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