GitHub CLI 发布 2.53.0

gh 是 GitHub 官方的命令行客户端工具,在此推荐给每一位在参与、想参与到 GitHub 上开源项目的小伙伴。体验异常舒适!

常用的命令包括有:

  • 登陆认证 gh auth login

  • 克隆代码仓库 gh repo clone linuxsuren/api-testing

  • 创建 Fork 仓库 gh repo fork

  • 创建 PR gh pr create

以下是 2.53.0 的版本更新信息:

  • 为变量获取命令添加了 --json 选项,由 @babakks 在 #9128 中添加

  • 在问题模板中添加了 GH_DEBUG,由 @TWiStErRob 在 #9167 中添加

  • 需要时获取所选仓库的变量关系,由 @williammartin 在 #9256 中实现

  • github.com/hashicorp/go-retryablehttp 从 0.7.5 版本升级到 0.7.7 版本,由 @dependabot 在 #9250 中完成

  • 变更 gh attestation trusted-root 子命令,由 @steiza 在 #9206 中实现

  • 修复了 'gh release create --help' 中的缩进问题,由 @cchristous 在 #9296 中修复

  • actions/attest-build-provenance 从 1.3.2 版本升级到 1.3.3 版本,由 @dependabot 在 #9305 中完成

  • 更新文档以明确 gh repo create 的所有者,由 @jessehouwing 在 #9309 中更新

  • 修复调用 gh pr view --json stateReason 时的恐慌问题,由 @williammartin 在 #9307 中修复

  • 添加了 issue create --editor 命令,由 @notomo 在 #7193 中添加

  • 添加了 pr update-branch 命令,由 @babakks 在 #8953 中添加

相关推荐
阿里嘎多学长37 分钟前
2026-09-20 GitHub 热点项目精选
开发语言·程序员·github·代码托管
峰向AI1 小时前
skill-up: [阿里开源] 让 AI Agent Skills 自己进化的评估工具
github
子林super5 小时前
顺序表用Python3定义与增删改查
github
子林super5 小时前
Python非空判断与类型检查写法
github
子林super5 小时前
Python list与array关键区别及使用场景
github
子林super5 小时前
Python中None与null的区别
github
u1301307 小时前
GitHub 热榜项目:周榜(2026-09-20)
人工智能·github
u1301309 小时前
GitHub 热榜项目:日榜(2026-09-20)
人工智能·github
逛逛GitHub9 小时前
外网 3500 万人围观的 Jev 模型,有这 10 个神奇玩法。
github
m4Rk_9 小时前
【论文阅读】Agent 记忆机制(76):SEEM——从碎片检索到完整事件重建
论文阅读·人工智能·学习·开源·github