libgit2

remote

Version:
Git remote management functions

Objects

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

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

Structs

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

Macros

Enums

Argument to the completion callback which tells it which operation finished

Automatic tag following option

Callbacks

Push network progress notification function

Callback used to inform of upcoming updates

Functions

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

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

Create an anonymous remote

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

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

Open a connection to a 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.

Initializes a git_fetch_options with default values creating an instance with GIT_FETCH_OPTIONS_INIT.

Initializes a git_push_options with default values creating an instance with GIT_PUSH_OPTIONS_INIT.

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