當我將大型資源庫推送到遠程時,出現超時異常。 如何設置遠程的超時時間? UPDATE: 錯誤信息 LibGit2Sharp.LibGit2SharpException: An error was raised by libgit2. Category = Invalid (Error).
Failed to receive response: The operation timed out
我嘗試通過libgit2sharp純倉庫合併分支,而是拋出異常: An unhandled exception of type 'LibGit2Sharp.BareRepositoryException' occurred in LibGit2Sharp.dll
Additional information: An error was raised by libgit2. Category =
例如,.gitattributes文件的lg2s具有行*.cs diff=csharp。代碼 using (var repo = new Repository(@"path\to\lg2s"))
{
var tree1 = repo.Lookup<Commit>("a845db9").Tree;
var tree2 = repo.Lookup<Commit>("d677741
我使用Visual Studio Online和Git的使用Visual Studio 2013的客戶端。 我試圖將文件添加到我的回購,當我提交他們,我得到的團隊資源管理器窗口中的以下錯誤: An error occurred. Detailed message: An error was raised by libgit2.
Category = NoMemory (Error). Out o