libgit2

remote

Version:
Git remote management functions

Objects

Git's idea of a remote repository which case it does not have backing configuration entries).

Preparation for a push operation push and the level of parallelism of the packfile builder.

Structs

Remote creation options structure

Represents an update which will be performed on the remote during push

The callback settings structure

Fetch options structure

Controls the behavior of a git_push object

Remote creation options structure

Macros

Enums

Remote redirection settings; whether redirects to another host are permitted initial request (/info/refs), but not subsequent requests.

Remote creation options flags

How to handle reference updates

Argument to the completion callback which tells it which operation finished

Acceptable prune settings when fetching

Automatic tag following option

Constants for fetch depth (shallowness of fetch)

Callbacks

Push network progress notification function

Callback used to inform of upcoming updates

Callback used to inform of the update status from the remote

Callback to resolve URLs before connecting to remote

Callback invoked immediately before we attempt to connect to the given url calling git_remote_set_instance_url in the callback.

Functions

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

Initialize git_remote_create_options structure

Create a remote, with options

Add a remote with the provided fetch refspec (or default if NULL) to the repository's configuration

Create an anonymous remote

Create a remote without a connected local repo

Get the information for a particular remote

Create a copy of an existing remote duplicated. Callbacks are not duplicated.

Get the remote's repository

Get the remote's name

Get the remote's url

Get the remote's url for pushing

Set the remote's url in the configuration

Set the remote's url for pushing in the configuration

Set the url for this particular url instance configuration will be ignored, and will not be changed.

Set the push url for this particular url instance configuration will be ignored, and will not be changed.

Add a fetch refspec to the remote's configuration

Get the remote's list of fetch refspecs

Add a push refspec to the remote's configuration

Get the remote's list of push refspecs

Get the number of refspecs for a remote

Get a refspec from the remote

Get the remote repository's reference advertisement list

Check whether the remote is connected

Cancel the operation

Disconnect from the remote

Free the memory associated with a remote

Get a list of the configured remotes for a repo

Initializes a git_remote_callbacks with default values creating an instance with GIT_REMOTE_CALLBACKS_INIT.

Initialize git_fetch_options structure

Initialize git_push_options structure

Initialize git_remote_connect_options structure

Open a connection to a remote

Open a connection to a remote with extended options

Download and index the packfile

Create a packfile and send it to the server

Update the tips to the new state

Download new data and update tips

Prune tracking refs that are no longer present on remote

Perform a push

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

Retrieve the tag auto-follow setting

Set the remote's tag following setting

Retrieve the ref-prune setting

Give the remote a new name

Ensure the remote name is well-formed

Delete an existing persisted remote

Retrieve the name of the remote's default branch