Skip to content

@mislav mislav released this Jul 19, 2019 · 12 commits to master since this release

  • 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 mislav released this Jul 10, 2019 · 16 commits to master since this release

  • Improve pull-request push target detection for git config push.default is "upstream", but when the current branch does not have upstream configuration
Assets 11

@mislav mislav released this Jun 30, 2019 · 20 commits to master since this release

Fixes:

  • hub pull-request: Avoid crash when the current branch is pushed to a non-GitHub remote

  • BROWSER environment variable now supports values with spaces in them (must be shell-quoted)

  • hub help: support man appearing in a path that has spaces

  • Docs: mention that comma-separated lists must not have spaces

Assets 11

@mislav mislav released this Jun 15, 2019 · 31 commits to master since this release

Features

  • Add hub api --paginate option 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-edits flag to disallow project maintainers being able to push to your branch

  • Abort hub pull-request with a helpful error message if the current branch wasn't pushed to a git remote

  • hub issue -M now accepts milestone names instead of just numbers

  • Drop support for legacy hub.http-clone git 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 --head was passed

  • Fix newline in hub create error message

  • Ensure HTTP connection reuse across API calls

Assets 11

@mislav mislav released this Apr 14, 2019 · 68 commits to master since this release

  • Avoid crash in hub remote argument 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 mislav released this Mar 29, 2019 · 76 commits to master since this release

  • Create draft pull requests with hub pull-request --draft

    Draft 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 mislav released this Mar 29, 2019 · 80 commits to master since this release

  • Fix compatibility with git when run with no arguments: hub --git-dir=.git

  • Fix issue/PR --format %L output in no-color mode

Assets 11

@mislav mislav released this Mar 28, 2019 · 85 commits to master since this release

  • Fix writing over existing cache files in hub api

  • Allow repository names that start with a - character

  • List api among custom hub commands in help

Assets 11

@mislav mislav released this Feb 24, 2019 · 94 commits to master since this release

Features

  • New hub pr list --format fields %pS and %pC for PR state and color

    • %pS: "open", "draft", "merged", or "closed"
    • %pC: green, gray, purple, or red
  • Have commands with rich output respect the --color flag

    • default: --color=auto
    • --color is equivalent to --color=always
    • --color=never disables color for TTYs

Fixes

  • Make man pages parseable with whatis

  • Make hub checkout work independently of remote refspec

Assets 11
You can’t perform that action at this time.