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.

Functions

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

Clone a remote repository

Clone into a repository

Perform a local clone into a repository