{"repo":"dlvhdr/diffnav","free":true,"listed":false,"github":"https://github.com/dlvhdr/diffnav","clone":"git clone https://github.com/dlvhdr/diffnav.git","description":"A git diff pager based on delta but with a file tree, à la GitHub.","language":"Go","stars":1518,"topics":["cli","delta","diff","git","github","golang","tui"],"license":"MIT","category":"cli-tools","readme_excerpt":"A git diff pager based on delta but with a file tree, à la GitHub. ❤️ Sponsoring If you enjoy diffnav and want to help, consider supporting the project with a donation at the sponsors page. Sponsors TUI Visionary &nbsp;&nbsp; &nbsp;&nbsp; TUI Power User &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; TUI Backer &nbsp;&nbsp; &nbsp;&nbsp; Installation Homebrew: or from my tap directly: Go: [!NOTE] To get the icons to render properly you should download and install a Nerd font from https://www.nerdfonts.com/. Then, select that font as your font for the terminal. You can install these with brew as well: brew install --cask font- -nerd-font Usage Pipe into diffnav - git diff diffnav - gh pr diff https://github.com/dlvhdr/gh-dash/pull/447 diffnav Set up as Global Git Diff Pager Flags Flag Description -------------------- --------------------------------------------------------------------- --side-by-side, -s Force side-by-side diff view --unified, -u Force unified diff view --watch, -w Watch mode: periodically re-run a command and refresh --watch-cmd Command to run in watch mode (implies --watch , default: git diff ) --watch-interval Interval between watch refreshes (default: 2s ) Example: Watch Mode Watch mode lets diffnav periodically re-run a diff command and refresh the display automatically. This is useful ","default_branch":null,"files":null,"tree":[],"storefront":"/r/dlvhdr","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dlvhdr/diffnav/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}