我目前正在使用SharpSvn以编程方式在C#中执行日志、提交和其他活动。
当我们从Svn转移到Git时,我正在为Git寻找一个最好的SharpSvn替代方案。
我试图使用SharpGit,但它似乎没有友好的API。我得到了401号错误。
另一个- LibGit2Sharp还在预发布。
提前感谢您的建议!GitClient gitClient =新GitClient();
GitFetchArgs gitFetch = new GitFetchArgs();
gitFetch.All = true;
GitInitArgs gitInit = new GitInitArgs();
gitClient.Init(@"C:\Work\TestGit");
gitClient.Authentication.Credentials += new EventHandler<GitCredentialEventArgs>(Authentication_Credentials);
GitClientArgs gitClientArgs;
bool bFetch = gitClient.Fetch(@"C:\Work\TestGit", gitFetch);发布于 2016-02-18 21:04:28
与LibGit2Sharp一起使用,它工作得很好。
https://stackoverflow.com/questions/35479251
复制相似问题