Codespaces user secrets guide describes logout behavior from older GitHub CLI versions

未關閉 適合新手
#47,156 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

@Jostar2 已經在處理了。

開始於 2026年12月2日。

  • #47157 來自 @Jostar2 —— 未關閉

評估

難度
1/5
預估耗時
1 小時以內
新手友好度
92/100
Issue 類型
文件
描述清晰度
描述清楚
活躍度
活躍
技術堆疊
markdown
領域
documentation

研究方向

從受影響的 Codespaces 帳戶專屬密鑰指南開始,找到說明登出的步驟。使用 GitHub CLI 2.106.0 發行說明作為新的權杖撤銷與認證資訊移除行為的來源,並使用已連結的 2.105.0 登出實作為舊行為的依據。完成表示該指南清楚區分 GitHub CLI 2.106.0 與更新版本和較早版本,並說明權杖何時必須另行撤銷。

由索引模型根據 Issue 內容生成。

描述

triage
Code of Conduct
What article on docs.github.com is affected?

Managing your account-specific secrets for GitHub Codespaces

What part(s) of the article would you like to see updated?

In the steps for managing secrets from inside a codespace, the article says that signing out leaves a copied OAuth token usable and leaves any credentials saved by a Git credential helper in place.

Starting in GitHub CLI 2.106.0, a successful default logout revokes the OAuth token issued for the web sign-in in these instructions. Copies of that token stop working. The CLI also asks the helper to remove saved HTTPS credentials for the host. The guide should distinguish these behaviors from earlier versions so users can tell when they need to revoke a token separately.

Additional information

The behavior change is documented in the 2.106.0 release notes. The 2.105.0 logout command describes the older behavior.

主要語言
TypeScript
星號
21.6k
分支
69.7k
平均合併
8 小時 11 分鐘
30 天內合併 PR
100

環境準備

在 Codespaces 中開啟

在瀏覽器裡用你自己的 GitHub 帳號啟動這個專案的開發容器。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

github/docs 的其他 Issue

查看 github/docs 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。