NAME

Dist::Zilla::Plugin::GitFlow::Init - initialize git repository and git-flow setting on dzil new

VERSION

version 0.010

SYNOPSIS

In your profile.ini:

[GitFlow::Init]
commit_message = Start develop branch for first release ; default
remote = origin git@github.com:USERNAME/%{lc}N.git ; there is no default
config = user.email USERID@cpan.org                ; there is no default
branch_master     = master   ; default
branch_develop    = develop  ; default
prefix_feature    = feature/ ; default
prefix_release    = release/ ; default
prefix_hotfix     = hotfix/  ; default
prefix_support    = support/ ; default
prefix_versiontag = v        ; default

DESCRIPTION

This plugin initializes a git repository and git-flow setting when a new distribution is created with dzil new.

Plugin options

The plugin accepts the following options:

  • commit_message - Defaults to Start develop branch for first release

  • config

  • remote

Above options are same as Dist::Zilla::Plugin::Git::Init. Please check original documents.

And it accepts git-flow related options:

branch_master     = master   ; default
branch_develop    = develop  ; default
prefix_feature    = feature/ ; default
prefix_release    = release/ ; default
prefix_hotfix     = hotfix/  ; default
prefix_support    = support/ ; default
prefix_versiontag = v        ; default
  • branch_master - Defaults to master

  • branch_develop - Defaults to develop

  • prefix_feature - Defaults to feature/

  • prefix_release - Defaults to release/

  • prefix_hotfix - Defaults to hotfix/

  • prefix_support - Defaults to support/

  • prefix_versiontag - Defaults to v

git-flow's default prefix version tag is empty string. But this plugin sets default as v.

SEE ALSO

Dist::Zilla::Plugin::Git::Init

AUTHOR

Keedi Kim - 김도형 <keedi@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Keedi Kim.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.