git-iblame 0.1.1

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, except that the current line is highlighted.

Following commands are available:

  • Enter: Run git blame on one older commit of the current commit.
  • 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.