Remotes

The Remote type

The TransferProgress type

This class contains the data which is available to us during a fetch.

The Refspec type

Credentials

There are two types of credentials: username/password and SSH key pairs. Both :py:class:`pygit2.UserPass` and :py:class:`pygit2.Keypair` are callable objects, with the appropriate signature for the credentials callback. They will ignore all the arguments and return themselves. This is useful for scripts where the credentials are known ahead of time. More complete interfaces would want to look up in their keychain or ask the user for the data to use in the credentials.

Table Of Contents

Previous topic

Configuration files

Next topic

Blame

This Page