I was doing some work at home over the weekend and used git to merge code changes back to my office computer (connected via a vpn) and found some very ugly merge problems. First of all the merge should have been very clean as everything was committed at the office on Friday and I only made changes to my home computer on Saturday and Sunday. But when I pulled the changes to my office computer I ended up with a ton of merge conflicts. So I cleaned up the merge conflicts, but then I found that many of the files (from what I can tell any file that I changed over the weekend) had "<<<<<<< HEAD" and ">>>>>>> D1/master" throughout the files. For example:
diff --git a/web/Web.Controller/Helpers/FormsAuthentication.cs b/web/Web.Controller/Helpers/FormsAuthentication.cs
index 8571f53..4a9c9fc 100644
-- a/web/Web.Controller/Helpers/FormsAuthentication.cs
++ b/web/Web.Controller/Helpers/FormsAuthentication.cs
@@ -10,7 +10,10 @@
/// </summary>
public class FormsAuthenticationUtility : IAuthenticationUtility
{
<<<<<<< HEAD
=======
>>>>>>> D1/master
#region IAuthentication Members
/// <summary>
I was able to fix the code using kdiff by comparing with the source code copied from my home computer, but this just seems completely messed up.
Any ideas what is going on? Thanks Dan