Collection of extra git commands
open sourceMITself-hostablefree
git-extras is an MIT-licensed collection of about 80 extra git subcommands, written in shell. They cover repository summaries (git summary, git info, git effort, git count), author and commit statistics, changelog generation and releases (git changelog, git release), branch housekeeping (deleting merged, gone or squashed branches, renaming branches, tags and remotes), undo and reset helpers, ignore files from gitignore.io, opening the repository or its CI in a browser, creating pull or merge requests, copying files between repositories, and an interactive git repl. It installs from Homebrew, most Linux distribution and BSD package managers, Windows, Nix, as a Zsh plugin or from source.
Ways to install
Package managers
Problems it solves
- delete all local git branches that are already merged
- generate a changelog from git commits
- see who contributed how much to a git repository
- a quick summary of a repository's age, commits and authors
- rename a git branch locally and on the remote in one command
- extra git commands for everyday repository chores
Features
- about 80 git subcommands
- repository summaries and author statistics: git summary, git info, git effort, git authors
- changelog and release helpers: git changelog, git release
- branch cleanup: delete merged, gone or squashed branches
- rename branches, tags, remotes and files
- git ignore and git ignore-io for .gitignore files
- git browse and git browse-ci to open the repository or CI
- git pr, git mr and git pull-request
- interactive git repl
- man pages and shell completions
Capabilities
| Has a command line tool | plan not known |
|---|
Alternatives
The same job
These do what git-extras does.
- Git Town Git branches made easy
- git-absorb git commit --fixup, but automatic
