LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

riff

Syntax highlighter for diff output

TLDR

Highlight changed portions of a diff
$ git diff | riff
copy
Set riff as the default git diff pager
$ git config --global pager.diff riff
copy
Highlight differences between two files
$ diff [file1.txt] [file2.txt] | riff
copy

SYNOPSIS

diff-command | riff [options]

DESCRIPTION

riff is a wrapper around diff that highlights which parts of lines have changed, showing unchanged portions in a distinct color. It hyperlinks file names and hunk headers to source code lines and also highlights merge conflicts. It integrates with git as a pager for enhanced diff viewing.

INSTALL

sudo pacman -S riff
copy
sudo apk add riff
copy
sudo zypper install riff
copy
brew install riff
copy
nix profile install nixpkgs#riff
copy

HISTORY

riff was created by Johan Walles (walles) and is written in Rust.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid