How to get diff working like git-diff?
This will do the +/- rather than < and >. diff -u file1 file2 Since GNU diffutils 3.4 the flag –color has been added. Combining both makes the following: diff –color -u file1 file2 The flag –color also takes an argument, valid options are never, always, or auto. Useful when you want to be more … Read more