Dist::...::Push(3pm)
π Dist::Zilla::Plugin::Git::Push β the manual, but make it slay π
okay bestie so we're in the Dist::...::Push(3pm) page, which lives in the User Contributed Perl Documentation corner of the manual universe, and it's about a little plugin called Dist::Zilla::Plugin::Git::Push π
β¨ NAME β¨
Dist::Zilla::Plugin::Git::Push β it pushes your current branch. that's it. that's the whole job. and it does it flawlessly π
π VERSION π
version 2.052 β yes, the specific number, don't come for me β¨
π¦ SYNOPSIS π¦
so in your dist.ini you're gonna write this, exactly:
[Git::Push]
push_to = origin ; this is the default
push_to = origin HEAD:refs/heads/released ; also push to released branch
remotes_must_exist = 1 ; this is the default
look at that. gorgeous. no notes π
π DESCRIPTION π
so once the release is done, this plugin pushes the current git branch to the remote, and it brings the associated tags along for the ride π«Ά they're coming too, it's a whole group trip.
the plugin accepts the following options, and you will be reading all of them:
push_toβ the name of the a remote to push to. default isorigin. and here's the cute part: you can specify this multiple times to push to multiple repositories πΈ like, go off, push everywhere.remotes_must_existβ if true, thenGit::Pushchecks before a release to make sure that all the named remotes you listed inpush_toare actually configured in your repo. default is true. here's the caveat tho bestie: remotes specified as a URL or path are not checked β instead you get aWill push to %s (not checked)message. so she's telling you she's not looking, lowkey, but she said it out loud so it's fine π
π§ SUPPORT π§
got bugs? been there. bugs may be submitted through the RT bug tracker:
<https://rt.cpan.org/Public/Dist/Display.html?Name=Dist-Zilla-Plugin-Git>
or honestly just email them here: bug-Dist-Zilla-Plugin-Git@rt.cpan.org (that's a mailto: bug-Dist-Zilla-Plugin-Git@rt.cpan.org) π
there's also a mailing list for users of this distribution, available at <http://dzil.org/#mailing-list> β it's giving community, it's giving support network π
and there's an irc channel too for users of this distribution, at #distzilla on irc.perl.org <irc://irc.perl.org/#distzilla> β come hang out, iykyk π¬
π AUTHOR π
Jerome Quelin β the icon, the legend, the moment β
π COPYRIGHT AND LICENCE π
this software is copyright (c) 2009 by Jerome Quelin.
and it's free software, fr fr β you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. periodt. π
and that's the whole page bestie, we ate and left no crumbs π
this has been Dist::...::Push(3pm) from perl v5.40.1, dated 2025-09-29 β mwah, take care of her, she pushes branches for a living π«Άβ¨
π¦ where this page comes from
- ubuntu resolute: libdist-zilla-plugin-git-perl 2.052-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libdist-zilla-plugin-git-perl 2.052-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms