libgit2

remote

Version:
Git remote management functions

Objects

Functions

Create a remote in memory

Get the information for a particular remote

Save a remote to its repository's configuration

Get the remote's name

Get the remote's url

Set the remote's fetch refspec

Get the fetch refspec

Set the remote's push refspec

Get the push refspec

Open a connection to a remote

Get a list of refs at the remote

Download the packfile

Check whether the remote is connected

Disconnect from the remote

Free the memory associated with a remote

Update the tips to the new state

Return whether a string is a valid remote URL

Return whether the passed URL is supported by this version of the library

Get a list of the configured remotes for a repo

Add a remote with the default fetch refspec to the repository's configuration