Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the best visual merge tool for Git? [closed]

What's the best tool for viewing and editing a merge in Git? I'd like to get a 3-way merge view, with "mine", "theirs" and "ancestor" in separate panels, and a fourth "output" panel.

Also, instructions for invoking said tool would be great. (I still haven't figure out how to start kdiff3 in such a way that it doesn't give me an error.)

My OS is Ubuntu.

like image 684
andy Avatar asked Sep 26 '08 00:09

andy


People also ask

Does Visual Studio have a merge tool?

if you are inside visual studio, it will handle diff and merge automatically, even if it is not configured as diff or merge tool.

What is git Mergetool?

DESCRIPTION. Use git mergetool to run one of several merge utilities to resolve merge conflicts. It is typically run after git merge. If one or more <file> parameters are given, the merge tool program will be run to resolve differences on each file (skipping those without conflicts).

Is p4merge still free?

Perforce, the company best known for its enterprise version control platform, also offers a solid diff tool: P4Merge is free of charge and comes with a basic feature set that makes it an interesting option on Windows, macOS and Linux.

How do I close a git merge?

How do I cancel a git merge? Use git-reset or git merge --abort to cancel a merge that had conflicts. Please note that all the changes will be reset, and this operation cannot be reverted, so make sure to commit or git-stash all your changes before you start a merge.


1 Answers

Meld is a free, open-source, and cross-platform (UNIX/Linux, OSX, Windows) diff/merge tool.

Here's how to install it on:

  • Ubuntu
  • Mac
  • Windows: "The recommended version of Meld for Windows is the most recent release, available as an MSI from https://meldmerge.org"
like image 129
17 revs, 17 users 30% Avatar answered Sep 20 '22 19:09

17 revs, 17 users 30%