Skip to content

git-rg v0.1.0

Choose a tag to compare

@github-actions github-actions released this 26 Aug 03:00
· 17 commits to main since this release

首个公开版本:通过 GitHub/GitLab API 在指定远端仓库中执行类似 rg 的文本搜索,不 clone、不 checkout,也不下载 Git 历史。

Highlights

  • auto、exact、indexed 三种搜索模式;exact 固定到不可变 commit 后保证完整扫描语义。
  • 默认 NDJSON,提供稳定 meta/match/context/warning/error/summary 事件,适合 agent 和脚本消费。
  • 支持 glob、上下文、固定字符串、忽略大小写、整词匹配、结果上限与安全缓存。
  • 支持 GitHub、GitLab、GitHub Enterprise、自建 GitLab、私有仓库、branch/tag/commit ref。
  • 提供 refs 和 --commit-info,可发现分支、tag 及提交作者信息。
  • 预构建 Linux、macOS、Windows 的 amd64/arm64 版本,并附 checksums.txt。

安装、认证、完整性语义和使用示例请见 README。

Full Changelog: https://github.com/SamuelSupe/git-rg/commits/v0.1.0