我试图与Visual Studio 2012的更新4.我收到以下错误信息配置的GitHub:的Visual Studio 2012集成的Git插件
发生错误。详细消息:libgit2引发了一个错误。类别= O(错误)。写入时无法打开
C:/Auto/Automation/Automation/DevAutomation/............/........./......../....../...../........./TestSuite/.../OrderSuite/OrderTestParent/ScenarioLibrary/content.txt
:传递给系统调用的数据区域太小。
当我运行中的Git的bash(GIT客户端),(从this answer意见)下面的命令,它工作正常:
$ git config --system core.longpaths true
但是,当我试图克隆的Visual Studio 2012使用Git HUB,我遇到了同样的问题。我搜索了类似的问题和solution given是直接修改.git/config
文件:
[core]
repositoryformatversion = 0
filemode = false
(...)
longpaths = true <-- (add this line under core section)
最后,我已经在.gitattributes
文件在Visual Studio团队资源管理器中添加以下(首页>设置> Git的设置) 。
[core]
* longpaths = true
但仍然没有工作。有任何想法吗?