Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 454 Bytes

diff-huge-files.md

File metadata and controls

22 lines (16 loc) · 454 Bytes

diff-huge-files

  • odiff

  • or using diff, colordiff and diff-highlight

install

apt install -y git colordiff
chmod +x /usr/share/doc/git/contrib/diff-highlight/diff-highlight
mkdir ~/scripts
cd ~/scripts
ln -s /usr/share/doc/git/contrib/diff-highlight/diff-highlight
export PATH=$PATH:~/scripts >> ~/.bashrc

execute

diff -u file1 file2 | colordiff | diff-highlight