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 中添加

相关推荐
timegogo5 小时前
Emoji 语义化搜索
程序员·github
miofly6 小时前
Jepsen 作者 Kyle Kingsbury:LLM 正在削弱软件文档和项目的可信度
开源·github
逛逛GitHub6 小时前
我在 GitHub 上搜罗了 6 个高质量数据集,看看哪些会用到。
github
程序员清风6 小时前
LLM Wiki 实战:用 MCP 构建会自我维护的个人知识库
开源·github
miofly6 小时前
GitHub 今日推荐|floorplan:AI 读代码自动画交互式架构地图
javascript·开源·github
miofly8 小时前
GitHub 日榜趋势速报 | 2026-11-02
开源·github
孙琦Ray17 小时前
GitHub 开源 Replica:用自家设计系统生成 AI 原型
开源·github·copilot·replica·设计系统·ai 原型
wflynn19 小时前
GitHub 日榜趋势速报 | 2026-10-31
开源·github
u1301301 天前
GitHub 热榜项目:月榜(2026-10-31)
github