Better command line diffs for git

Easier to read and understand

Joel Clermont
Joel Clermont
2024-06-04

I've been training myself to use the built-in git tooling in PHPStorm, but I'm a life-long git CLI fan.

One of the things I will occasionally go back to the CLI for is a fancy diff.

PHPStorm has above-average quality diffs already, but sometimes the CLI tool I use makes it a little easier to read and understand.

What tool? Difftastic!

This tool is syntax-aware, so it can interpret changes as more than just a diff of characters, but it understands the syntax of PHP (and many other languages).

This opens up some interesting possibilities. Click through to their home page to see some nice visual examples, if this sounds interesting.

Here to help,

Joel

P.S. Did you know we offer Laravel project reviews? Get in touch if you'd like some expert feedback to make your project even better.

Toss a coin in the jar if you found this helpful.
Want a tip like this in your inbox every weekday? Sign up below 👇🏼

Level up your Laravel skills!

Each 2-minute email has real-world advice you can use.