c/git · by canpolat@programming.dev · 166ddeff: interactive, side-by-side file review for git diffs https://github.com/flamestro/deff12 points · 3 comments · view on lemmy.world
3 Comments
7uWqKj@lemmy.world · 5 pts · 166d
curl|bash? No way
EarMaster@lemmy.world · 2 pts · 166d
The script is linked and is only 33 lines long. The instructions are also written down later in the Readme.
BB_C@programming.dev · 4 pts · 166d
One can use custom viewers via
core.pagerandinteractive.diffFilterin git configuration, not to mention defining customdifftools directly.I primarily use delta for this (sometimes packaged as
git-delta), which itself is implemented in Rust too.For example, save this as a script called
delta-ssomewhere in$PATH:Then, in
~/.gitconfig, addAnd the you can just
You can further create an alias for that too of course.