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
- To get started, use
-
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
-
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 ingh api
#1515 -
Support GraphQL
operationName
field ingh 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