github cli/cli v2.40.0
GitHub CLI 2.40.0

latest releases: v2.61.0, v2.60.1, v2.60.0...
11 months ago

Multiple Account Support

With the v2.40.0 release, multi-account support is introduced to gh for GitHub.com and GitHub Enterprise and it is only the beginning!

Thanks to @gabe565 for his efforts to support multi-account capabilities with gh-profile extension for this long requested feature! ❤️

This release focuses on several specific use cases:

  • adding multiple accounts for GitHub.com and GitHub Enterprise with gh auth login
  • switching manually between accounts for gh and git use with gh auth switch
  • seeing multiple accounts with gh auth status
  • logging out of accounts with gh auth logout

Future enhancements such as automatic account switching based on context and more git automatic git configuration will be planned based on community feedback.

For much more detail about the specific of multiple account support in this release as well as a discussion of the sharp edges, please see this doc.

Please provide feedback in our release discussion.

What's changed

  • Better codespaces error handling when the display name flag exceeds 48 characters by @mateusmarquezini in #8361
  • Better error handling in auth status when there are connection issues by @tal66 in #8337
  • Filtering run list results by commit sha by @nelsonchen304 in #8350
  • More informative pr merge output when running interactively by @ffalor in #8381
  • Unification of doc mark-ups by @muzimuzhi in #8342
  • Addition of progress indicator when installing an extension by @steiza in #8411
  • Support for multiple accounts on a single host by @williammartin in #8425

Other technical changes

New Contributors

Full Changelog: v2.39.2...v2.40.0


This discussion was created from the release GitHub CLI 2.40.0.

Don't miss a new cli release

NewReleases is sending notifications on new releases.