git-backpan-init - Initialize a repository for a CPAN module with full history from the backpan.
git backpan-init [ --help | --man ] [ --mkdir <directory> ] [ --force ] Foo::Bar
This command is like cpan-init except it imports all the historical versions of a module as well, allowing you to run git bisect or to browse history.
cpan-init
git bisect
The name of the module can be written with double-colons or dashes (i.e., Foo::Bar or Foo-Bar).
Unless the -force option is used, the command will abort if a git repository is found to be already present in the directory.
Creates a sub-directory and create the git repository there instead than in the current directory. If no directory name is given, figures one out based on the name of the module.
Forces the imports, even if a git repository was already present in the directory.
Prints the synopsis and valid options and exits.
Prints the man page and exits.
Most of the time, you want to use git backpan-init like this:
% cd ~/work/ % git backpan-init -mkdir Foo::Bar
This document describes git-backpan-init version 0.1.5
Please report any bugs or feature requests to bug-git-cpan-patch@rt.cpan.org, or through the web interface at http://rt.cpan.org.
bug-git-cpan-patch@rt.cpan.org
Yanick Champoux <yanick@cpan.org>
<yanick@cpan.org>
Yuval Kogman <nothingmuch@woobling.org>
<nothingmuch@woobling.org>
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
Git::CPAN::Patch
To install Git::CPAN::Patch, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Git::CPAN::Patch
CPAN shell
perl -MCPAN -e shell install Git::CPAN::Patch
For more information on module installation, please visit the detailed CPAN module installation guide.