8

I usually work on someone else's code base on a remote system and often need to merge code from two different files. For that I have to pull files to my system and meld it and push it back to the remote system. Is there any better way to do it through the terminal itself? (i.e. Terminal and command-line equivalent of Meld Diff Viewer)?

Luís de Sousa
  • 13,227
  • 26
  • 81
  • 128
Sunil Shahu
  • 255
  • 2
  • 6

2 Answers2

6

How about Vimdiff?

http://www.thegeekstuff.com/2010/06/vimdiff-file-diff-tool/

It might not look as fancy as Meld, but it looks like a great option for visual diffing in terminal.

Tobberoth
  • 186
  • 2
2

Sounds like the perfect use for a distributed version control system like either git or Mercurial.

A very good tutorial for Mercurial is available here:

http://hginit.com

haziz
  • 2,929