我使用Visual Studio Online和Git使用Visual Studio 2013作为客户端。
我正在尝试将文件添加到我的仓库中,当我提交它们时,我在团队资源管理器窗口中收到以下错误:
An error occurred. Detailed message: An error was raised by libgit2.
Category = NoMemory (Error). Out of memory
有没有人见过这个?
答案 0 :(得分:2)
在这里查看=> https://github.com/git-tfs/git-tfs/issues/224
这可能是由于大型二进制文件造成的。更新.gitignore
以忽略非常大的文件。假设这些exe
个文件将*.exe
添加到.gitignore
如果在克隆期间发生 - git tfs clone --ignore-regex=exe http://team-foo $/foo local-foo