git-iblame 0.1.3

A command line tool to do `git blame` interactively.
Documentation

crate-badge docs-badge

git-iblame

A command line tool to do git blame interactively.

Install

Prerequisites

From crates.io

cargo install git-iblame

From github

cargo install --git https://github.com/kojiishi/git-iblame

From local checkout

After changing the current directory to the checkout directory:

cargo install --path .

Usages

To start an interactive git blame session, specify the path of the file in a git repository.

git-iblame <path-to-file>

The output is similar to git blame, with the current line highlighted. You can move the current line, or traverse the git history of the current line.

Following commands are available:

  • Enter: Traverse to one older commit of the current commit.
  • Backspace: Undo the last Enter key.
  • Up/Down: Move the current line to the previous/next commit.
  • Home/End/PgUp/PgDown: Move the current line.
  • Number + Enter: Go to the line.
  • c: Copy the hash of the current commit to the clipboard.
  • q: Quit the session.