All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Difi: Interactive Git Diff Review Tool for Command Line

By

oug-t

3mo ago· 3 min readenCode

Summary

Difi is a command-line tool for reviewing and refining Git diffs before pushing changes to a repository. It provides an interactive interface for examining changes, allowing users to navigate through file trees and diff views with keyboard shortcuts. The tool supports various installation methods including Homebrew, Go install, AUR for Arch Linux, and manual builds. It can compare against the main branch or specific branches/commits, and also accepts raw diffs via standard input for use with other version control systems like Jujutsu.

Key quotes

· 5 pulled
Review and refine Git diffs before you push.
Run difi in any Git repository against main:
You can also pass raw diffs directly into difi via standard input. This is perfect for patch files or other version control systems like Jujutsu:
Tab - Toggle focus between File Tree and Diff View
j / k - Move
Snippet from the RSS feed
Review and refine Git diffs before you push. Contribute to xguot/difi development by creating an account on GitHub.

You might also wanna read