git-dive

Crates.iogit-dive
lib.rsgit-dive
version0.1.6
sourcesrc
created_at2023-03-16 13:11:26.317506
updated_at2023-04-13 16:05:48.21723
descriptionDive into a file's history to find root cause
homepage
repositoryhttps://github.com/gitext-rs/git-dive
max_upload_size
id811515
size1,096,821
Ed Page (epage)

documentation

https://github.com/gitext-rs/git-dive

README

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

Commit count: 197

cargo fmt