Jonathan "Duke" Leto
11 years ago
6 changed files with 63 additions and 5 deletions
After Width: | Height: | Size: 19 KiB |
@ -0,0 +1,15 @@ |
|||
|
|||
use Git::Repository; |
|||
|
|||
my $url = 'git://github.com/git/git.git'; |
|||
my $dir = 'git'; |
|||
Git::Repository->run( clone => $url => $dir ); |
|||
|
|||
my $r = Git::Repository->new( $dir ); |
|||
|
|||
# run an arbitrary Git command |
|||
my $command = "stash"; |
|||
my @arguments = ''; |
|||
my $options = {}; |
|||
|
|||
$r->run( $command => @arguments, $options ); |
Binary file not shown.
After Width: | Height: | Size: 18 KiB |
Loading…
Reference in new issue