libgit2

clone

Version:
Git cloning routines

Structs

Clone options structure

Macros

Enums

Options for bypassing the git-aware transport on clone it means that instead of a fetch, libgit2 will copy the object database directory instead of figuring out what it needs, which is faster. If possible, it will hardlink the files to save space.

Callbacks

The signature of a function matching git_remote_create, with an additional void* as a callback payload

The signature of a function matchin git_repository_init, with an aditional void * as callback payload

Functions

Initializes a git_clone_options with default values creating an instance with GIT_CLONE_OPTIONS_INIT.

Clone a remote repository