Quite a lot of extras for git. git-release, git-ignore, git-setup, git-changelog, git-effort, and more.
git
Go to file
Utsav Sabharwal 79ba015412
feat: add git-delete-gone-branches command
Adds a new command to delete local branches whose remote-tracking
branch has been deleted (shown as [gone] in git branch -vv).

This is a common need after PRs are merged and remote branches are
cleaned up, leaving stale local branches behind.

Features:
- Deletes all local branches with a gone remote in one command
- --dry-run / -n flag to preview branches before deletion

Closes #1220
2026-03-15 21:53:42 +05:30
.github chore(deps): bump bats-core/bats-action from 3.0.1 to 4.0.0 (#1230) 2026-02-09 14:36:15 +08:00
bin feat: add git-delete-gone-branches command 2026-03-15 21:53:42 +05:30
etc feat: add git-delete-gone-branches command 2026-03-15 21:53:42 +05:30
helper fix: No longer pollute env with GREP_OPTIONS 2023-01-30 21:00:39 -08:00
man feat: add git-delete-gone-branches command 2026-03-15 21:53:42 +05:30
scripts Format comparisons, functions, and redirections to be consistent (#1201) 2025-06-06 11:10:50 +08:00
tests add git-wip and git-unwip (#669) 2025-05-14 17:05:41 +08:00
vendor Implement half of tests in Bats (#1187) 2025-03-12 18:15:37 +08:00
.editorconfig Implement half of tests in Bats (#1187) 2025-03-12 18:15:37 +08:00
.gitignore Mostly finish pytest to Bats conversion (#1200) 2025-03-26 11:19:30 +08:00
.gitmodules Implement half of tests in Bats (#1187) 2025-03-12 18:15:37 +08:00
.pytest.ini test(git-authors): add unit test (#1098) 2023-11-18 10:20:19 +08:00
AUTHORS Version 7.4.0 (#1206) 2025-06-20 11:12:58 +08:00
brew-release.patch change installation source from master to main (#1092) 2023-10-23 12:13:40 +08:00
check_dependencies.sh updates per request of spacewander 2022-05-05 11:19:30 -04:00
check_integrity.sh Update some documentation that was out of sync (#1164) 2024-09-22 14:11:31 +08:00
Commands.md feat: add git-delete-gone-branches command 2026-03-15 21:53:42 +05:30
CONTRIBUTING.md Use filetimes in check_integrity (#1162) 2024-09-19 11:27:11 +08:00
History.md Version 7.4.0 (#1206) 2025-06-20 11:12:58 +08:00
install.cmd read COMMANDS_WIHOUT_REPO from not_need_git_repo file 2019-12-09 17:13:56 +01:00
install.sh Switch from using /tmp to using mktemp 2019-09-05 12:41:45 +08:00
Installation.md Update instructions for the OpenSUSE installation (#1157) 2024-09-04 13:59:35 +08:00
LICENSE Mention initial copyright year and add contributors to copyright 2016-01-30 17:30:04 +05:30
Makefile makefile: Allow bypassing conflict check (#1080) 2023-09-26 11:35:24 +08:00
need_git_commit git-back: removed 2020-08-28 22:23:41 +08:00
not_need_git_repo feat: Implement git-get command (#1045) 2023-08-12 13:49:33 +08:00
Readme.md Overhaul CONTRIBUTING document (#1103) 2023-11-11 12:50:50 +08:00

Git Extras

Little git extras.

Screencasts

Just getting started? Check out these screencasts:

Installation

See the Installation page.

Commands

Go to the Commands page for basic usage and examples.

GIT utilities -- repo summary, repl, changelog population, author commit percentages and more

Contributing

Interested in contributing? Awesome!

Please read Contributing before you make a PR, thanks!

The change of the default branch

As of Git Extras 6.4 the assumed default branch name changed from master to main. This affects the Git Extras commands git archive-file, git delete-merged-branches, git delta, git pull-request, git show-merged-branches, git show-unmerged-branches, and git squash.

To change the default branch name to master: change either the configuration git-extras.default-branch or init.defaultBranch to master; the former takes precedence.

For example, git config git-extras.default-branch master.