Git::Class::Worktree - Git::Class::Worktree documentation


Git-Class documentation  | view source Contained in the Git-Class distribution.

Index


NAME

Top

Git::Class::Worktree

SYNOPSIS

Top

  use strict;
  use warnings;
  use Git::Class::Worktree;

  my $work = Git::Class::Worktree->new(path => 'path/to/somewhere');
  $work->init;
  $work->add('.');
  $work->commit;

  $work->git('ls-files'); # can run an arbitrary command

DESCRIPTION

Top

This is another (experimental) interface to git executable for convenience. Note that this will change the current directory to the path you specify when you create an object, and as of 0.03, it'll take you back to the previous current directory when you demolish the object.

INTERNAL METHODS

Top

BUILDARGS

DEMOLISH

AUTHOR

Top

Kenichi Ishigaki, <ishigaki@cpan.org>

COPYRIGHT AND LICENSE

Top


Git-Class documentation  | view source Contained in the Git-Class distribution.