git-hist
- new
- Python 3
- terminal
- MIT
An interactive, two-pane git history browser for the terminal. The left pane shows the commit graph,
the right pane the full git show of the selected commit. The right pane follows as you
move through the history.
- Works as
git hist, with any revisions and pathsgit logtakes. - Regex search in either pane, with highlighting and smart case.
- Copy a commit hash with y; resize the panes with < / >.
- One file, standard library only (
curses).
curl -o ~/.local/bin/git-hist \
https://raw.githubusercontent.com/OldPeasant/git-hist/main/git-hist
chmod +x ~/.local/bin/git-hist
git hist
git-hist on GitHub
git la │ git show a251cac * 4b06179 commit 13 │commit a251caccf7c2bc9d * c36ef76 commit 4 │Merge: e30b3b8 d9fae44 * a251cac Merge branch 'feature' │Author: … |\ │ | * d9fae44 (feature) feature work │ Merge branch 'feature' * | e30b3b8 main work │ |/ │ * 4a4bda7 commit 3 │ ←/→ pane ↑/↓ move / search y copy hash q quit