Skip to content

GitHub CLI 1.12.0

Choose a tag to compare

@github-actions github-actions released this 29 Jun 19:18
· 7056 commits to trunk since this release

HELLO and welcome back to GitHub on the command line.

This is a pretty cool release.

gh browse

Taking inspiration from hub, we've added gh browse. This is a multipurpose command for getting from your terminal to your browser.

My favorite use is to open up lines of code for sharing with others:

gh browse pkg/cmd/repo/garden/garden.go:520

You can also get directly to a repo's settings:

gh browse --settings

The command can do much more, check out gh browse -h!

We're also excited to shout out the contributors who made this new feature possible, a group of students in the MinT program.

Awesome work, @bchadwic @jlsestak @ravocean and @ttran112 !

Add .gitignore and LICENSE when creating repositories

When creating a repository from scratch (gh repo create mycoolrepo), you can now select from GitHub's .gitignore and LICENSE templates to include with the new repository.

Connect via a unix socket

A new config value http_unix_socket can be configured to a local path to push all of gh's traffic over a socket.

Other improvements

  • Print help even if logged out #3850
  • Add shell completion for the --state flag #3877

Bugfixes

  • Allow explicitly empty body in issue/pr create #3787
  • Increase GH_PAGER precedence #3789
  • Fix showing Checks information in pr status #3804
  • Update "Accept" header for github.com requests #3803
  • Fix setting environment secrets #3832
  • Fix gh run download fails on large artifacts due to uint32 limitation #3890
  • repo fork: check that --org is not the empty string #3807

Docs

  • Document installing via Conda package manager #3792
  • Fix description for gh secret set --env option #3784
  • Add a long command description for secrets remove #3786
  • Update documentation for gist create command with default of secret #3871

Developer changes

  • fork tests cleanup #3809
  • Remove unused method from httpmock package #3834
  • Factory cleanup #3841
  • Improvements to build script on Windows #3846
  • Ensure that tests for command factory never read from user's config #3856

Credits

Thanks to all of this release's contributors!