Skip to content
trozenPublic

About

Minimal GUI git diff viewer and code review tool, inspired by gitk

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

47 Commits

Folders and files

Repository files navigation

gitr

Lightweight terminal-launched Git diff viewer. Two-panel GUI: coloured diff on the left, clickable file list on the right.

Install

uv tool install .

Or just point an alias at the script directly (no install step needed):

alias gitr=~/path/to/gitr/gitr.py

Usage

gitr                         # git diff (unstaged changes)
gitr master                  # git diff master (to working tree)
gitr --merge-base master     # diff from common ancestor to working tree
gitr master HEAD             # git diff master HEAD (committed only)

git diff | gitr              # pipe a patch
gitr -                       # read stdin explicitly
gitr -p patch.diff           # read from a patch file

Requirements

Python 3.10+, Tkinter (included in most Python distributions). No other dependencies.

About

Minimal GUI git diff viewer and code review tool, inspired by gitk

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages