| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
$ git clone https://github.com/libgit2/libgit2sharp.git
Repository.Clone("https://github.com/libgit2/libgit2sharp.git", "path/to/repo");To provide a username and password, pass in CloneOptions.
var co = new CloneOptions();
co.FetchOptions.CredentialsProvider = (_url, _user, _cred) => new UsernamePasswordCredentials { Username = "Username", Password = "Password" };
Repository.Clone("https://github.com/libgit2/libgit2sharp.git", "path/to/repo", co);| Back | FazBrowse Home | New Git URL |