libgit2

remote

Version:
Git remote management functions

Objects

Structs

The callback settings structure

Macros

Enums

Argument to the completion callback which tells it which operation finished

Callbacks

Functions

Add a remote with the default fetch refspec to the repository's configuration calls git_remote_save before returning.

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

Get the remote's url for pushing

Set the remote's url

Set the remote's url for pushing

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

Cancel the operation

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

Choose whether to check the server's certificate (applies to HTTPS only)

Set a credentials acquisition callback for this remote not available for anonymous access, then you must set this callback in order to provide credentials to the transport at the time of authentication failure so that retry can be performed.

Sets a custom transport for the remote to bypass the automatic discovery of a transport by URL scheme (i.e. http://, https://, git://) and supply their own transport to be used instead. After providing the transport to a remote using this function, the transport object belongs exclusively to that remote, and the remote will free it when it is freed with git_remote_free.

Set the callbacks for a remote

Get the statistics structure that is filled in by the fetch operation

Retrieve the tag auto-follow setting

Set the tag auto-follow setting

Give the remote a new name

Retrieve the update FETCH_HEAD setting

Sets the update FETCH_HEAD setting updated on every fetch. Set to 0 to disable.

Ensure the remote name is well-formed