Quite a lot of extras for git. git-release, git-ignore, git-setup, git-changelog, git-effort, and more.
git
Go to file
Acho Arnold Ewin 59817efa8e
fix: correctly resolve PREFIX when git.exe is under the arch dir in PATH
When 'where git.exe' resolves to ...\mingw64\bin\git.exe or
...\clangarm64\bin\git.exe, installdir becomes the architecture directory
itself. Detect that case by inspecting the leaf directory name instead of
appending mingw64/clangarm64 (which produced non-existent ...\mingw64\mingw64
paths) or using ..\ segments.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-07 10:26:26 +03:00
.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 (#1239) 2026-06-09 10:36:27 +08:00
etc feat: add git-delete-gone-branches command (#1239) 2026-06-09 10:36:27 +08:00
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 (#1239) 2026-06-09 10:36:27 +08:00
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.5.0 (#1250) 2026-05-10 10:19:14 +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 (#1239) 2026-06-09 10:36:27 +08:00
CONTRIBUTING.md Use filetimes in check_integrity (#1162) 2024-09-19 11:27:11 +08:00
History.md Version 7.5.0 (#1250) 2026-05-10 10:19:14 +08:00
install.cmd fix: correctly resolve PREFIX when git.exe is under the arch dir in PATH 2026-07-07 10:26:26 +03:00
install.sh Switch from using /tmp to using mktemp 2019-09-05 12:41:45 +08:00
Installation.md Use standard prefix for home dir installs (#1248) 2026-04-29 13:46:32 -07: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.