github cli/cli v0.12.0

latest releases: v2.49.2, v2.49.1, v2.49.0...
3 years ago

Features

  • New gh auth commands for authentication:

  • Add support for GitHub Enterprise Server #1517

    • To get started, use gh auth login
    • To clone a GHE repo: gh repo clone example.com/owner/repo
    • Use GH_HOST environment variable to choose a default hostname for all commands
  • Implement OAuth Device Authorization flow for github.com #1522

    This enables authenticating to github.com when gh is used on a machine that does not have a graphical web browser. The new flow enables opening a browser on a different machine to complete the authentication process.

  • Publish repositories for Debian and RPM packages #1615

    See Linux installation instructions

  • Add ability to create repositories from a repository template #1590

    gh repo create <reponame> --template <owner>/<templaterepo>

  • Enable using PAGER for gh pr diff output #1534

  • Add gh pr checkout --recurse-submodules flag #1479

  • Add gh pr close --delete-branch flag #1476

  • Allow omitting one's own username in gh repo view <reponame> #1567

  • gh issue/pr view now include number and URL in machine-readable output #1580

  • Add :branch placeholder in gh api #1515

  • Support GraphQL operationName field in gh api #1448

Bugs

  • Fix “TLS handshake timeout” on macOS #514

  • Fix gh issues list --milestone filter #1462

  • Fix color output on standard error on Windows #1579

  • Disallow gh pr <command> --repo <repo> flag for commands that operate on the current branch #1585

  • Be transparent about which part of gh pr create flow failed #1603

  • Fix detecting display width of common punctuation characters #1616

  • Filter bots out of gh repo credits output #1623

Don't miss a new cli release

NewReleases is sending notifications on new releases.