I am using VS 2013.
I am stuck. Everything is committed to my local repository. I try to pull from remote and I get the following error:
An error occurred. Detailed message: An error was raised by libgit2. Category = 21 (MergeConflict). 1 uncommitted change would be overwritten by merge
I have no uncommitted changes...that I'm aware of.
Looks like running git pull from the command prompt allowed me to execute the pull. I was unfamiliar with the command prompt.
Typically, you will see this message when you have modified a file, but not staged the changes, and the merge you are attempting would write to that file. Visual Studio 2013, unfortunately, contains a bug where it determines that your file is modified even though it is not. The bug manifests when you have a file in your repository that has line endings that disagree with what should have been produced, given your core.autocrlf
settings.
This bug is fixed in Visual Studio 2013 Update 2: http://support.microsoft.com/kb/2927432
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With