Hub Versions Save

A command-line tool that makes git easier to use with GitHub.

v2.12.2

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

v2.12.1

4 years ago

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

v2.12.0

4 years ago

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

v2.11.2

5 years ago
  • 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

v2.11.1

5 years ago
  • Fix non-draft pull requests for certain repositories

v2.11.0

5 years ago
  • 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.

v2.10.2

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

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

v2.10.1

5 years ago
  • 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

v2.10.0

5 years ago

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

v2.9.0

5 years ago

Features

  • Add support for hub ci-status --format <FORMAT> string

  • Add hub create --remote-name <REMOTE> flag

  • Allow passing in a raw request body via hub api --input <FILE>

  • Cache HTTP 4xx (except 403) server responses in hub api --cache

Fixes

  • Ensure consistent ordering of hub ci-status -v results

  • Avoid crashing on invalid GitHub hostname

  • Fix parsing empty string within command-line arguments