imediff2

interactive full screen 2-way merge tool

Install

All systems
curl cmd.cat/imediff2.sh
Debian Debian
apt-get install imediff2
Ubuntu
apt-get install imediff2
image/svg+xml Kali Linux
apt-get install imediff2
Windows (WSL2)
sudo apt-get update sudo apt-get install imediff2
Raspbian
apt-get install imediff2

imediff2

interactive full screen 2-way merge tool

Imediff2 lets you merge two (slightly different) files interactively with a user friendly full screen interface on a text terminal. In other words, it is an ncurses based replacement for sdiff. The program shows the differences of given files (in color if the terminal supports them), lets you scroll up and down and toggle changes between the old and new versions of the differing hunks one by one. Unlike split screen based merge tools, it shows only one, partially merged, version of the file at a time, making it more "WYSIWYG", perhaps more intuitive for beginners and most importantly, suitable for narrow terminalis. This also comes with git-ime wrapper script to use imediff2 with git VCS.