Skip to content

[REC] introduce git-log-tree #45

Description

@xiaoshanyan9

🔗 Website

https://github.com/xiaoshanyan9/git-log-tree

📦 Ready to be included in x-cmd pkg ?

YES

📥 How to install

curl -L -o git-log-tree https://github.com/xiaoshanyan9/git-log-tree/raw/refs/heads/main/git-log-tree
chmod +x git-log-tree
sudo mv git-log-tree /usr/local/bin/

📝 TLDR

git log-tree

🌟 Highlights

Image

Pros

  1. Minimal and Lightweight
    Single-file solution, no dependencies beyond Git and Less. Pure Bash implementation.
  2. Cross-Platform
    Runs on all major operating systems, terminals, and architectures without any issues.
  3. Git Subcommand Support
    Can be used as a Git subcommand with tab completion for a seamless workflow.
  4. Better Visuals
    More intuitive and visually appealing than the default git log --graph.
  5. Zero Configuration
    Simple usage —— just run the command, no parameters or setup required.
  6. Interactive with fzf
    Combines with fzf for a tig-like interactive experience.

Cons

  1. Limited Functionality
    Focuses solely on visualizing Git logs. No support for other Git commands.
  2. No Parameter Customization
    Can't easily add extra git log flags or customize output.
  3. Performance
    As a Bash script, performance may be slower than compiled alternatives, but sufficient for most use cases.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions