Sign in

Full Stack Developer | Reading, Learning, Building Stuff | Top Skill: Failing at new things & Trying again faster than most people

A tiny CLI command that checks and reports the difference between 2 files

git diff | Image from unix.stackexchange.com

A difference check is massively helpful when it comes to figuring out answers to simple questions like Are these files the same and if they are not where do they differ? (E.g. A.txt vs B.txt) to a more difficult style of the same simple question above where we try to figure out the difference between 2 versions of the same file (E.g. main.py [v1.1.1] vs main.py [v2.5.3]).

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store