A CLI tool to quickly browse the git history of files on a terminal. This project is inspired by git-history.
sh
cargo install git-hist
sh
git hist <file>
You can use git-hist as a git subcommand, so the hyphen is not required.
Left/Right: Go to a previous/next commit.Up/Down or mouse scrolls: Scroll up/down.PageUp/PageDown: Scroll page up/down.Home/End: Scroll to the top/bottom.q/Ctrl+c/Ctrl+d: Exit.```sh $ git-hist --help git-hist {{ version }} A CLI tool to quickly browse the git history of files on a terminal
USAGE:
git-hist [FLAGS] [OPTIONS]
ARGS:
FLAGS: --beyond-last-line Set whether the view will scroll beyond the last line --emphasize-diff Set whether the view will emphasize different parts --full-hash Show full commit hashes instead of abbreviated commit hashes -h, --help Print help information -v, --version Print version information
OPTIONS:
--date-format