Skip to content

Dive into a file's history to find root cause

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

gitext-rs/git-dive

Repository files navigation

git-dive

Dive into a file's history to find root cause

Screenshot

codecov Documentation License Crates Status

Dual-licensed under MIT or Apache 2.0

Documentation

About

git-dive is for better understanding why a change was made. Frequently, we work on code bases we didn't start which have too little documentation. Even worse if the original authors are not around. git-blame is an invaluable tool for this but it requires a lot of ceremony to get the information you need.

Features

  • Git-native experience
  • Syntax highlighting
  • Focuses on relative references (e.g. HEAD~10)
    • More room for code by merging the SHA and Time columns into a rev column
    • Easier to compare timestamps via the rev column (e.g. HEAD~10)
    • Easier to remember, avoiding the need for copy/pasting SHAs
  • Focuses on "blaming" merge-commits (PRs) to more quickly see the whole context for a change
  • Easy to find relevant config with git dive --dump-config -

Planned Features

git-dive was inspired by perforce time lapse view.

Install

Download a pre-built binary (installable via gh-install).

Or use rust to install:

$ cargo install git-dive

Uninstall

See the uninstall method for your installer.

Getting Started

FAQ

About

Dive into a file's history to find root cause

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages