libgit2

clone

Version:

Clone will take a remote repository - located on a remote server accessible by HTTPS or SSH, or a repository located elsewhere on the local disk - and place a copy in the given local path.

Structs

Clone options structure

Macros

Current version for the git_clone_options structure

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