Submit a product

diffnav

Terminal git diff pager with a file tree sidebar

ToolCommand lineOpen source

diffnav is a terminal pager for reviewing git diffs. It shows the changed files in a tree beside the diff, so you can move between files without scrolling through one long output. It is aimed at developers who review changes or read diffs from the command line.

It builds on the delta diff renderer and adds the file tree layout that GitHub uses for pull requests. The project is released under the MIT license and the source code is public on GitHub. It runs as a command line tool with no graphical interface.

Alternatives to diffnav

Products that do a similar job in Developer Tools.

All alternatives

hunk

Terminal diff viewer for reviewing code changes

ToolDeveloper Tools··Open source·10k

lazygit

Terminal UI for running git commands with keyboard shortcuts

ToolDeveloper Tools··Open source·84k

bat

command-line file viewer with syntax highlighting and git integration

ToolDeveloper Tools··Open source·62k

GitHub CLI

Command line tool for working with GitHub from the terminal

ToolDeveloper Tools··Open source·47k

gitui

Keyboard-driven terminal interface for git repositories

ToolDeveloper Tools··Open source·23k

tig

Text-mode interface for browsing and working with git repositories

ToolDeveloper Tools··Open source·13k

onefetch

Command-line tool that shows a summary of a Git repository

ToolDeveloper Tools··Open source·12k

GitHub Desktop

Graphical Git client for committing, branching and reviewing pull requests

AppDeveloper Tools··Open source