Rex::Commands::SCM - Sourcecontrol for Subversion and Git.
With this module you can checkout subversion and git repositories.
use Rex::Commands::SCM; set repository => "myrepo", url => "git@foo.bar:myrepo.git"; set repository => "myrepo2", url => "https://foo.bar/myrepo", type => "subversion", username => "myuser", password => "mypass"; task "checkout", sub { checkout "myrepo"; checkout "myrepo", path => "webapp"; checkout "myrepo", path => "webapp", branch => 1.6; # branch only for git checkout "myrepo2"; };
With this function you can checkout a repository defined with set repository. See Synopsis.
To install Rex, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Rex
CPAN shell
perl -MCPAN -e shell install Rex
For more information on module installation, please visit the detailed CPAN module installation guide.