Crates.io | gitd |
lib.rs | gitd |
version | 0.1.0 |
source | src |
created_at | 2024-08-06 10:32:36.122966 |
updated_at | 2024-08-06 10:32:36.122966 |
description | Visualizes the differences between the current HEAD and a specified branch in a git repository using a formatted table output in your terminal. The differences are displayed with color-coded additions and deletions for better readability. |
homepage | https://github.com/bahdotsh/gitd |
repository | https://github.com/bahdotsh/gitd |
max_upload_size | |
id | 1327147 |
size | 34,551 |
This Rust program visualizes the differences between the current HEAD and a specified branch in a git repository using a formatted table output in your terminal. The differences are displayed with color-coded additions and deletions for better readability.
comfy_table
to format the output.This project uses the following Rust crates:
clap
: For command-line argument parsing.comfy_table
: For creating and formatting tables.crossterm
: For terminal manipulation.regex
: For parsing git diff output.cargo install gitd
git clone https://github.com/bahdotsh/gitd.git
cd gitd
cargo install --path .
gitd -b branch //by default, the branch will be main