.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "Dist::Zilla::Plugin::Git::Push 3pm" .TH Dist::Zilla::Plugin::Git::Push 3pm 2024-01-20 "perl v5.38.2" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME Dist::Zilla::Plugin::Git::Push \- Push current branch .SH VERSION .IX Header "VERSION" version 2.049 .SH SYNOPSIS .IX Header "SYNOPSIS" In your \fIdist.ini\fR: .PP .Vb 4 \& [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 .Ve .SH DESCRIPTION .IX Header "DESCRIPTION" Once the release is done, this plugin will push the current git branch to the remote, with the associated tags. .PP The plugin accepts the following options: .IP \(bu 4 push_to \- the name of the a remote to push to. The default is \fIorigin\fR. This may be specified multiple times to push to multiple repositories. .IP \(bu 4 remotes_must_exist \- if true, then Git::Push checks before a release to ensure that all named remotes specified in \f(CW\*(C`push_to\*(C'\fR are configured in your repo. The default is true. Remotes specified as a URL or path are not checked, but will produce a \&\f(CW\*(C`Will push to %s (not checked)\*(C'\fR message. .SH SUPPORT .IX Header "SUPPORT" Bugs may be submitted through the RT bug tracker (or bug\-Dist\-Zilla\-Plugin\-Git@rt.cpan.org ). .PP There is also a mailing list available for users of this distribution, at . .PP There is also an irc channel available for users of this distribution, at \&\f(CW\*(C`#distzilla\*(C'\fR on \f(CW\*(C`irc.perl.org\*(C'\fR . .SH AUTHOR .IX Header "AUTHOR" Jerome Quelin .SH "COPYRIGHT AND LICENCE" .IX Header "COPYRIGHT AND LICENCE" This software is copyright (c) 2009 by Jerome Quelin. .PP This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.