Dist::Zilla::Plugin::Config::Git(3) Plugin configuration containing settings for a Git repo


[Config::Git / Git::main]
remote = origin
local_branch = master
remote_branch = master
allow_dirty = dist.ini
allow_dirty = README
allow_dirty = qr{\w+\.ini}
changelog = Changes

git_config = Git::main

git_config = Git::main

; etc.


This is a configuration plugin for Git repo/branch information. A configuration plugin is sort of like a Stash, but is better suited for intra-plugin data sharing, using distro (not user) data.

Why use this? To provide a standard set of information to other Git plugins easily, especially if the repo data is non-standard, or if you need more than one set of data.



Name of the remote repo, in standard Git repo format (refspec or git URL).

Default is "origin".


Name of the local branch name.

Default is "master".


Name of the remote branch name.

Default is "master".


Filenames of files in the local repo that are allowed to have modifications prior to a write action, such as a commit. Multiple lines are allowed. Any strings in standard "qr" notation are interpreted as regular expressions.

Default is "dist.ini" and whatever changelog is set to.


Name of your change log.

Default is "Changes".


Kent Fredric and Karen Etheridge for implementation discussion. Graham Knop for continuous code reviews.


The project homepage is <https://github.com/SineSwiper/Dist-Zilla-Plugin-Config-Git>.

The latest version of this module is available from the Comprehensive Perl Archive Network (CPAN). Visit <http://www.perl.com/CPAN/> to find a CPAN site near you, or see <https://metacpan.org/module/Dist::Zilla::Plugin::Config::Git/>.


Internet Relay Chat

You can get live help by using IRC ( Internet Relay Chat ). If you don't know what IRC is, please read this excellent guide: <http://en.wikipedia.org/wiki/Internet_Relay_Chat>. Please be courteous and patient when talking to us, as we might be busy or sleeping! You can join those networks/channels and get help:
  • irc.perl.org

    You can connect to the server at 'irc.perl.org' and talk to this person for help: SineSwiper.

Bugs / Feature Requests

Please report any bugs or feature requests via <https://github.com/SineSwiper/Dist-Zilla-Plugin-Config-Git/issues>.


Brendan Byrd <[email protected]>


Graham Knop <[email protected]>


This software is Copyright (c) 2013 by Brendan Byrd.

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)