7 releases
Uses new Rust 2024
new 0.3.0 | Apr 29, 2025 |
---|---|
0.2.0 | Apr 29, 2025 |
0.1.4 | Apr 29, 2025 |
#1023 in Filesystem
290 downloads per month
34KB
787 lines
git-iblame
A command line tool to do git blame
interactively.
Install
Prerequisites
- Install Rust if it's not installed yet.
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 commit at the current line.
- 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.
Dependencies
~13–23MB
~412K SLoC