Hub Versions Save

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

v2.8.4

5 years ago
  • Add hub api -H flag to set HTTP request headers

  • Add hub api -i flag to output HTTP response headers

  • Change how hub api deals with HTTP errors:

    • HTTP response is now printed on stdout regardless of HTTP status
    • No longer print an extra newline after HTTP response body
    • No more Error: HTTP {STATUS} message on stderr
    • hub exits with status 22 instead of 1
  • Fix hub execution under WSL (Windows Subsystem for Linux)

v2.8.3

5 years ago

Changes since v2.7

Changes since v2.8.2

  • Fix uploading assets with hub release

v2.7.1

5 years ago
  • Respect chosen Enterprise host on hub init -g

  • Ensure consistent order of options when prompted to choose between multiple configured GitHub hosts

  • Ensure alphabetical sort of hub issue labels output

  • Improve contrast of label text vs. its background color

  • Various documentation formatting tweaks

v2.7.0

5 years ago

Features

  • Add support for hub pr list --state=merged

  • Add base/head/merge commit SHA and merged date information to hub pr list --format=FORMAT

  • Un-deprecate converting issues to pull requests with hub pull-request -i <issue> 2a748a048d6903eca78332a484e63f8d647caf02

Fixes

  • Improve detecting default hub pull-request base branch name

  • Avoid the Aborted: the origin remote doesn't point to a GitHub repository error by allowing other git remotes as fallback

  • Improve hub create dealing with an existing "origin" remote

  • Fix 256-color terminal support for macOS Terminal.app

  • Don't choke on literal % output characters when using --format=FORMAT

  • Replace deprecated Dial with DialContext

Documentation

v2.6.1

5 years ago
  • Fix using git aliases for git 2.20

  • Add support for passing multiple --message options for compatibility with git

  • Allow the %h token in HostName value read from ssh config

v2.6.0

5 years ago

Features

  • Use "scissors" line to delineate comments in editable messages instead of stripping away lines that start with #. This helps preserve Markdown headings in hub pull-request, hub release create, and similar commands that open a text editor interactively.

    Everything above the following line is kept in the message; everything below is discarded:

    # ------------------------ >8 ------------------------
    
  • New command hub issue show <NUMBER>

  • Add hub release show --format=<FORMAT> functionality

  • hub pr list --format=%rs lists requested reviewers

  • Add support for communicating with GitHub Enterprise over Unix socket

    # ~/.config/hub
    example.com:
      user: USER
      oauth_token: TOKEN
      unix_socket: /path/to/socket
    

Fixes

  • Prevent hub create setting a public upstream when creating a private repo

  • Fix hub create in place of a renamed repo

  • Fix hub release create/edit/delete when there are multiple git remotes

  • Auto-detect private/pushable repos in hub remote add

  • Fix hub ci-status exit code when there is only Checks

  • Allow hub compare <RANGE> even if not on any branch

  • Ensure consistent sort direction when listing issues, PRs

  • Match requested team names by slug instead of name in hub pull-request -r <TEAM>

v2.5.1

5 years ago
  • hub issue create: ignore the .github/ISSUE_TEMPLATE directory instead of crashing

  • hub pull-request: avoid re-requesting reviewers in case of CODEOWNERS

  • hub ci-status: handle cases when Checks API is unavailable, like older GitHub Enterprise

  • Handle HTTP 422 message format from server response

  • Ignore crash for malformed ~/.config/hub file

  • Clarify hub init -g documentation that it doesn't imply hub create

  • hub clone: add more documentation about git protocol used

v2.5.0

5 years ago

Features

Fixes

  • Do not pass `--cmd' to vi editor to ensure compatibility with older vi
  • Simplify cherry-picking commits from pull request URLs
  • Allow single-character branches/tag names in hub compare
  • Fix hub compare for Enterprise when <USER> is specified
  • Support remote add -t BRANCH argument
  • Bash shell completion fixes for git 2.18
  • Documentation fixes

v2.4.0

5 years ago

Features

  • hub delete [<OWNER>/]<REPO>

  • Add hub compare --copy flag

  • Add hub release --format=<FORMAT> option

  • Add hub pull-request --no-edit flag

  • When checking out a pull request, ensure that git pushwith no arguments works

  • Support XDG Base Directory Specification

Tweaks

  • Enable hub pr list -h <BRANCH> when owner isn't specified

  • Include docs/ in list of locations to look up pull request and issue templates in