daily pastebin goal
67%
SHARE
TWEET

Untitled

a guest Nov 5th, 2018 111 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var co = new CloneOptions();
  2.         co.BranchName = "v1"; // "refs/tags/v1" does not work either
  3.         co.CredentialsProvider = (_url, _user, _cred) => new UsernamePasswordCredentials { Username = "username", Password = "password" };
  4.         Repository.Clone(repoUrl, localGitPath, co);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top