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 matching git_repository_init, with an additional void * as callback payload

Functions

Initialize git_clone_options structure

Clone a remote repository