GitHub CLI 2.40.0 #8429
Replies: 5 comments 16 replies
-
Great long overdue feature! 🚀 Appreciate it! 👍🏻 |
Beta Was this translation helpful? Give feedback.
-
would love to see a sub-command like yq -r '."github.com".user' ~/.config/gh/hosts.yml |
Beta Was this translation helpful? Give feedback.
-
Would like to have some way to automatically set it based on some mechanism (
If others have more interesting ways would like to know. |
Beta Was this translation helpful? Give feedback.
-
I think |
Beta Was this translation helpful? Give feedback.
-
Is there any way with the current setup to support multiple fine-grained personal access tokens? I have a single github.com account that is used both for personal projects and for a github.com enterprise with orgs that my personal-scoped PAT can't access. So I have two tokens I want to switch between on the same account: one PAT for the enterprise org, and one for all my personal orgs. Is this supported in the current accounts setup? I guess I can manage this myself with some automation around |
Beta Was this translation helpful? Give feedback.
-
Multiple Account Support
With the
v2.40.0
release, multi-account support is introduced togh
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:
gh auth login
gh
andgit
use withgh auth switch
gh auth status
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.
What's changed
auth status
when there are connection issues by @tal66 in Add timeout error ingh auth status
#8337run list
results by commit sha by @nelsonchen304 in Actions: filter to workflow runs for a specific commit #8350pr merge
output when running interactively by @ffalor in print info about merge when interactive #8381Other technical changes
New Contributors
gh auth status
#8337Full Changelog: v2.39.2...v2.40.0
This discussion was created from the release GitHub CLI 2.40.0.
Beta Was this translation helpful? Give feedback.
All reactions