9 print "USAGE: prj-create-repo.pl 'login\@host:path/project.git'\n";
13 my ($login, $host) = split(/@/, shift);
15 ($host, $path) = split(/:/, $host);
17 print "Logging to $host...\n";
18 my $ssh = Net::SSH::Perl->new($host, debug => 0);
19 $ssh->login($login, "");
21 print "Creating remote Git Repository...\n";
22 my ($stdout, $stderr, $exit) = $ssh->cmd("mkdir $path && cd $path && git init --bare");