7.7
2.8 Clone
(require libgit2/include/clone) | package: libgit2 |
Clone a remote repository.
By default this creates its repository and initial remote to match git’s defaults. You can use the options in the callback to customize how these are created.
Passing #f for options will use default clone options.
procedure
(git_clone_init_options opts int) → integer?
opts : clone_options? int : unsigned
Initializes a git_clone_options with default values. Equivalent to creating an instance with GIT_CLONE_OPTIONS_INIT.