Dist::Zilla::Plugin::Git::Init - initialize git repository on dzil new
version 2.008
In your profile.ini:
[Git::Init] commit_message = initial commit ; this is the default remote = origin git@github.com:USERNAME/%{lc}N.git ; no default config = user.email USERID@cpan.org ; there is no default
This plugin initializes a git repository when a new distribution is created with dzil new.
dzil new
The plugin accepts the following options:
commit_message - the commit message to use when checking in the newly-minted dist. Defaults to initial commit.
initial commit
config - a config setting to make in the repository. No config entries are made by default. A setting is specified as OPTION VALUE. This may be specified multiple times to add multiple entries.
OPTION VALUE
remote - a remote to add to the repository. No remotes are added by default. A remote is specified as NAME URL. This may be specified multiple times to add multiple remotes.
NAME URL
You can use the following codes in commit_message, config, or remote:
commit_message
config
remote
%n
A newline.
%N
The distribution name. You can also use %{lc}N or %{uc}N to get the name in lower case or upper case, respectively.
%{lc}N
%{uc}N
Jerome Quelin
This software is copyright (c) 2009 by Jerome Quelin.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Dist::Zilla::Plugin::Git, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dist::Zilla::Plugin::Git
CPAN shell
perl -MCPAN -e shell install Dist::Zilla::Plugin::Git
For more information on module installation, please visit the detailed CPAN module installation guide.