NAME

Git::Raw::Remote - Git remote class

VERSION

version 0.12

DESCRIPTION

A Git::Raw::Remote represents a Git remote.

METHODS

add( $repo, $name, $url )

Add a new remote to the given Git::Raw::Repository with name $name and URL $url.

name( )

Retrieve the name of the remote.

url( )

Retrieve the URL of the remote.

connect( $direction )

Connect to the remote. The direction can be either "fetch" or "push".

disconnect( )

Disconnect the remote.

download( )

Download the remote packfile.

save( )

Save the remote to its repository's config.

update_tips( )

Update the tips to the new status.

is_connected( )

Check if the remote is connected.

AUTHOR

Alessandro Ghedini <alexbio@cpan.org>

LICENSE AND COPYRIGHT

Copyright 2012 Alessandro Ghedini.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.