clone


Description:

public static Repository? clone (string url, File location, CloneOptions? options) throws Error

Clones a new git repository in the given folder.

Parameters:

url

url to fetch the repository from.

location

the location of the repository.

options

a CloneOptions.

Returns:

a newly created Repository.