我正试图按照以下说明使用VS2013来设置git:
How do I add an existing Solution to GitHub from Visual Studio 2013
然而,在Home | Unsynced Commits中,我得到了以下错误:
An error occurred. Detailed message: An error was raised by libgit2. Category = Unknown (Error).
No error message has been provided by the native library考虑到错误信息非常不清楚,我不知道从哪里开始故障排除。
编辑:错误不仅发生在Unsynced Commits,而且还发生在Changes和Branches上。
发布于 2014-12-17 15:23:58
请参阅以下答案:https://stackoverflow.com/a/20004092/3286583
我还得到了libgit2错误。这是一个问题,因为“用README.md初始化这个存储库”。
若要从源代码管理中删除解决方案,请关闭Visual并删除.gitattributes、.gitignore和".git“文件夹。现在重新打开解决方案,然后用上面提到的答案的方法再试一次。
https://stackoverflow.com/questions/22334292
复制相似问题