git-extras
Extend Git with useful extra utilities
TLDR
Install or upgrade git-extras commands
Display help
Display version
SYNOPSIS
git-extras [--help | --version | --list [pattern] | --install-prefix prefix]
PARAMETERS
-h, --help
Display usage help
-v, --version
Print version information
-l, --list [pattern]
List all extra commands; filter by pattern if provided
--install-prefix=prefix
Set custom installation prefix during build
DESCRIPTION
git-extras is an open-source collection of 40+ useful commands that extend core Git functionality, making repository management more efficient and informative. It adds tools for summarizing activity (git summary), measuring contributions (git effort), generating changelogs (git changelog), cleaning branches (git delete-merged-branches), and visualizing history (git graph), among others.
After installation, these integrate seamlessly as Git subcommands. Use git-extras --list to view all available extras. Ideal for developers seeking productivity boosts without third-party GUIs.
Install via package managers: sudo apt install git-extras (Debian/Ubuntu), brew install git-extras (macOS), or yum install git-extras (RHEL/Fedora). From source: clone the GitHub repo, then make install.
Popular for teams due to commands like git authors (list contributors), git squash (interactive rebase), and git ignore (add to .gitignore). Licensed under MIT, it's lightweight and customizable.
CAVEATS
Not core Git; requires separate installation. Subcommands have individual options; check git <extra> --help. May need Perl/Python for some features.
POPULAR SUBCOMMANDS
git summary: Repo stats by author/file.
git effort: Contribution heatmap.
git changelog: Auto-generate CHANGELOG.
git delete-merged-branches: Prune merged local branches.
SOURCE INSTALLATION
git clone https://github.com/tj/git-extras.git
cd git-extras
sudo make install
HISTORY
Created by TJ Holowaychuk in 2011 as a set of bash scripts. Evolved into 70+ commands, community-maintained on GitHub (tj/git-extras). Widely adopted post-v1.0 in 2013.
SEE ALSO
git(1)


