mislav
released this
-
Allow hub use within GitHub Actions by specifying GITHUB_USER #2149
-
Show friendlier error message when GITHUB_TOKEN is set, but fetching the current user fails
Assets
11
mislav
released this
- Improve
pull-requestpush target detection forgit config push.defaultis "upstream", but when the current branch does not have upstream configuration
Assets
11
mislav
released this
Fixes:
-
hub pull-request: Avoid crash when the current branch is pushed to a non-GitHub remote -
BROWSERenvironment variable now supports values with spaces in them (must be shell-quoted) -
hub help: supportmanappearing in a path that has spaces -
Docs: mention that comma-separated lists must not have spaces
Assets
11
mislav
released this
Features
-
Add
hub api --paginateoption to automatically fetch all pages of results -
Add
hub pr show [<number>]command to open a pull request in the browser -
Add
hub pull-request --no-maintainer-editsflag to disallow project maintainers being able to push to your branch -
Abort
hub pull-requestwith a helpful error message if the current branch wasn't pushed to a git remote -
hub issue -Mnow accepts milestone names instead of just numbers -
Drop support for legacy
hub.http-clonegit config value (this was broken for a while and nobody complained, so I deemed it safe to drop in a minor rather than a major release)
Fixes
-
Fix querying git configuration when GIT_TRACE is used
-
Support detached HEAD if
hub pull-request --headwas passed -
Fix newline in
hub createerror message -
Ensure HTTP connection reuse across API calls
Assets
11
mislav
released this
-
Avoid crash in
hub remoteargument parsing -
Fix
hub -C mydir merge <URL>by propagating global git arguments to Before/After chains -
Preserve tilde
~character in man pages
Assets
11
mislav
released this
- Fix non-draft pull requests for certain repositories
Assets
11
mislav
released this
-
Create draft pull requests with
hub pull-request --draftDraft pull requests are considered work in progress: they don't automatically request others for review and they are not mergeable while in their draft state.
Assets
11
mislav
released this
-
Fix compatibility with git when run with no arguments:
hub --git-dir=.git -
Fix issue/PR
--format %Loutput in no-color mode
Assets
11
mislav
released this
-
Fix writing over existing cache files in
hub api -
Allow repository names that start with a
-character -
List
apiamong custom hub commands in help
Assets
11
mislav
released this
Features
-
New
hub pr list --formatfields%pSand%pCfor PR state and color%pS: "open", "draft", "merged", or "closed"%pC: green, gray, purple, or red
-
Have commands with rich output respect the
--colorflag- default:
--color=auto --coloris equivalent to--color=always--color=neverdisables color for TTYs
- default:
Fixes
-
Make man pages parseable with
whatis -
Make
hub checkoutwork independently of remote refspec