1Dist::Zilla::Plugin::GiUts:e:rInCiotn(t3r)ibuted Perl DoDciusmte:n:tZaitliloan::Plugin::Git::Init(3)
2
3
4
6 Dist::Zilla::Plugin::Git::Init - Initialize git repository on dzil new
7
9 version 2.045
10
12 In your profile.ini:
13
14 [Git::Init]
15 commit_message = initial commit ; this is the default
16 commit = 1 ; this is the default
17 branch = ; this is the default (means master)
18 remote = origin git@github.com:USERNAME/%{lc}N.git ; no default
19 config = user.email USERID@cpan.org ; there is no default
20
22 This plugin initializes a git repository when a new distribution is
23 created with "dzil new".
24
25 Plugin options
26 The plugin accepts the following options:
27
28 · commit_message - the commit message to use when checking in the
29 newly-minted dist. Defaults to "initial commit".
30
31 · commit - if true (the default), commit the newly-minted dist. If
32 set to a false value, add the files to the Git index but don't
33 actually make a commit.
34
35 · branch - the branch name under which the newly-minted dist is
36 checked in (if "commit" is true). Defaults to an empty string,
37 which means that the Git default branch is used (master).
38
39 · config - a config setting to make in the repository. No config
40 entries are made by default. A setting is specified as "OPTION
41 VALUE". This may be specified multiple times to add multiple
42 entries.
43
44 · remote - a remote to add to the repository. No remotes are added
45 by default. A remote is specified as "NAME URL". This may be
46 specified multiple times to add multiple remotes.
47
48 Formatting options
49 You can use the following codes in "commit_message", "config", or
50 "remote":
51
52 %n A newline.
53
54 %N The distribution name. You can also use "%{lc}N" or "%{uc}N" to
55 get the name in lower case or upper case, respectively.
56
58 Bugs may be submitted through the RT bug tracker
59 <https://rt.cpan.org/Public/Dist/Display.html?Name=Dist-Zilla-Plugin-
60 Git> (or bug-Dist-Zilla-Plugin-Git@rt.cpan.org <mailto:bug-Dist-Zilla-
61 Plugin-Git@rt.cpan.org>).
62
63 There is also a mailing list available for users of this distribution,
64 at <http://dzil.org/#mailing-list>.
65
66 There is also an irc channel available for users of this distribution,
67 at "#distzilla" on "irc.perl.org" <irc://irc.perl.org/#distzilla>.
68
69 I am also usually active on irc, as 'ether' at "irc.perl.org".
70
72 Jerome Quelin
73
75 This software is copyright (c) 2009 by Jerome Quelin.
76
77 This is free software; you can redistribute it and/or modify it under
78 the same terms as the Perl 5 programming language system itself.
79
80
81
82perl v5.28.0 2018-06-03 Dist::Zilla::Plugin::Git::Init(3)