News for hackers. Stuff that matters.
Re:Mercurial developer responds to "Switch to git?" by voltagex_ on Sunday November 17, 2013 @06:59PM (#6751641)
I use TFS at work and Git at home - I do miss Visual Studio's merge features which have been greatly improved in 2012 and 2013. How did you get your head around resolving merge conflicts in Git?
Re:Mercurial developer responds to "Switch to git?" by bitwize on Sunday November 17, 2013 @07:12PM (#6751693)
It's as easy as searching for ">>>>" in your text editor; the conflicts will be clearly marked and you take the markers out and make the merged code look the way you want it.
Re:Mercurial developer responds to "Switch to git?" by skeletonjelly on Sunday November 17, 2013 @09:46PM (#6752194)
Or use my favourite conflict program p4merge
Re:Mercurial developer responds to "Switch to git?" by weaksauce on Sunday November 17, 2013 @07:05PM (#6751664)
it's not too bad in git. you just look at the merge conflict markers in each of the files specified, delete or merge what you want in each of the files, then add the changes to the staging area, and commit again to complete the merge.

this might help: http://stackoverflow.com/a/7589612

and this: http://git-scm.com/book/en/Git-Branching-Basic-Branching-and...

Re:Mercurial developer responds to "Switch to git?" by rallison on Sunday November 17, 2013 @07:16PM (#6751709)
Even better, one can specify a mergetool in their config, and use a standard diff tool to resolve conflicts.
Re:Mercurial developer responds to "Switch to git?" by taspeotis on Sunday November 17, 2013 @08:25PM (#6751972)
At work, my Git repos are exclusively C# and I've been using SemanticMerge [1] for resolving conflicts to good effect.

[1] https://www.semanticmerge.com/

Re:Mercurial developer responds to "Switch to git?" by voltagex_ on Sunday November 17, 2013 @09:01PM (#6752091)
It's a pity they're a subscription and also they want me to log in to view the pricing.

Edit: There is a once-off price and also somewhere to apply if you're working on open source.