RIFF(1)
π RIFF(1) β the riff girlie manual page π
okay so bestie, welcome to riff, section 1 of the manual. buckle up, this one's a banger π
β¨ NAME β¨
riff β a diff filter that highlights the changed parts of every line π
πΈ SYNOPSIS πΈ
diff ... | riff [options...]
riff [-b] [-w] [options...] <FD1> <FD2>
riff [-b] [-w] [options...] --file <FILE>
π¦ Arguments:
[FD1]β the first file or directory to compare[FD2]β the second file or directory to compare
π DESCRIPTION π
It colors your diff output and highlights the changed parts of every line. like, it looks at your diff and goes "okay here's exactly what changed" and makes it pop. literally the glow-up your diffs have been begging for β¨
π«Ά Git integration:
drop these in and your git diffs get the treatment automatically, no cap:
git config --global pager.diff riff
git config --global pager.show riff
git config --global pager.log riff
git config --global interactive.diffFilter "riff --color=on"
π OPTIONS π
-f,--file<FILE>β read a diff or patch file instead π-b,--ignore-space-changeβ ignore changes in the amount of whitespace (so a lil extra space won't trip it up)-w,--ignore-all-spaceβ ignore all whitespace, every single bit of it π§--no-pagerβ don't page the result. it just prints and leaves, no scrolling shenanigans--no-adds-only-specialβ bestie this one has no effect, it's been replaced by--unchanged-style. it's giving legacy, it's giving ghost of options past π--unchanged-style<UNCHANGED_STYLE>β how will the unchanged line parts be styled? the moment of truth π- possible values:
yellowβ unchanged text is yellow, old unchanged is faintred-greenβ legacy mode
- possible values:
--color<COLOR>β possible values:onoffautoβ color if stdout is a terminal
-h,--helpβ print help (see a summary with-h) π«Ά-V,--versionβ print version
π REPORTING BUGS π
found something cursed? report issues at <https://github.com/walles/riff>. do it, the maintainers want to know fr fr
π COPYRIGHT π
Copyright (c) 2021 Johan Walles <johan.walles@gmail.com>
and that's the whole page, bestie π you just read riff version 3.6.0, and this manual was dated February 2026. iconic behavior from everyone involved. periodt π
β¨
π¦ where this page comes from
- ubuntu resolute: riff 3.6.0-2 Β· MIT
- ubuntu stonking: riff 3.6.0-2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms