* feat(mr): support Forgejo/Codeberg pull request URLs Codeberg and other Forgejo instances expose pull requests under refs/pull/<id>/head instead of GitLab's refs/merge-requests/<id>/head, so passing a Codeberg pull request URL to git mr fetched the wrong ref. Recognize the /pulls/<id> URL shape and switch to the matching ref for that case, leaving the GitLab URL and bare numeric id behavior unchanged. Closes #1213 * test(git-mr): cover Forgejo/Codeberg URLs, regenerate man docs Add a bats test that exercises the pulls URL branch via a local insteadOf remote rewrite (no real HTTP endpoint needed), and bring git-mr.1/git-mr.html in line with the git-mr.md changes. --------- Co-authored-by: vjymisal0 <vijay.looprai@gmail.com> |
||
|---|---|---|
| .github | ||
| bin | ||
| etc | ||
| helper | ||
| man | ||
| scripts | ||
| tests | ||
| vendor | ||
| .editorconfig | ||
| .gitignore | ||
| .gitmodules | ||
| .pytest.ini | ||
| AUTHORS | ||
| brew-release.patch | ||
| check_dependencies.sh | ||
| check_integrity.sh | ||
| Commands.md | ||
| CONTRIBUTING.md | ||
| History.md | ||
| install.cmd | ||
| install.sh | ||
| Installation.md | ||
| LICENSE | ||
| Makefile | ||
| need_git_commit | ||
| not_need_git_repo | ||
| Readme.md | ||
Git Extras
Little git extras.
Screencasts
Just getting started? Check out these screencasts:
- introduction (archive.org link) -- covers
git-ignore,git-setup,git-changelog,git-release,git-effortand more
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.