Small gitk-like terminal browser built with git, bash, fzf, and less.
gitm- browse git history and diffs interactivelygit-show-pager- pager helper that separates file diffsgml- repeat a previous commit message in an editable commitgbb- checkout a branch selected from recent checkout reflog entries
Required shell:
- Bash
Required commands:
gitfzfdialoglessawksed
The executable scripts call need for required commands before using them.
./install.shInstall to a custom prefix:
PREFIX="$HOME/.local" ./install.shgitm
gitm --first-parent main
gitm -- path/to/file
gml
gbb- Override pager with
GGB_GIT_SHOW_PAGER=/path/to/pager.
These scripts were extracted from a personal Arch Linux + i3 workspace. Review dependencies and paths before using them on another machine.