3 ms·
My favorite diff tool is diff2html - see the diff in your browser as HTML! https://diff2html.xyz/ https://diff2html.xyz/ Install the CLI, run the command (ali
by yboris 4y ago
My favorite diff tool is diff2html - see the diff in your browser as HTML!
https://diff2html.xyz/ https://diff2html.xyz/
Install the CLI, run the command (alias diff='diff2html -s side') - I run this at least every time before committing to quickly see all I've done.
- bufferoverflow 4y agoWhat's the advantage of seeing the diff in HTML? Seems like an unnecessary extra step.
- yboris 4y agoVisually easier on my eyes, easier to scroll, I can filter out `package-lock.json` file from the diff (with a command line argument). In the end it's a preference thing, not an "objectively better" thing.
- Wilfred 4y agoSide-by-side diff displays work really great in a browser. You usually have more screen real estate, and you can offer a responsive UI.