Search code examples
gitvisual-studioversion-controltfs

VisualStudio: An error was raised by libgit2. Category = Checkout


I'm using TFS with Git, installed Visual Studio Tools for Git.

I'm trying to pull all commits (5 in total) from TFS, but I get this error below:

An error occurred. Detailed message: An error was raised by libgit2. 
Category = Checkout (MergeConflict).
2 conflicts prevent checkout

How do I resolve this?

error


Solution

  • Sadly, the Visual Studio plugin for Git doesn't display the error messages you need to troubleshoot this problem. (I hope they plan that feature for a later release.)

    Try pulling the latest commits using Git Bash or using TortoiseGit. Either of those tools should let you know where your conflicts are.