百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
G

github-todos

> 编程语言
开源

Git 钩子,可将您的待办事项转换为 GitHub 问题

1.3K stars0 点赞1 次浏览
访问官网GitHub

工具介绍

Git 钩子,可将您的待办事项转换为 GitHub 问题

GitHub-todos

GitHub-Todos 是一个 git 钩子,可将您的待办事项转换为 GitHub 问题。 您可以阅读 wiki 上的完整演示 以获取详细信息。

基本用法

  • 在您的仓库上安装钩子
bash
# If you're not using Github, set service FIRST
github-todos config service bitbucket # check out github-todos list-services

github-todos init
  • 检查并可能调整配置
bash
github-todos config --defaults

# want to enable issue injection?
github-todos config inject-issue true

# check configuration help
github-todos help config
  • 编辑、提交、推送
[Github-Todos] Checking Github Authentication… OK
[Github-Todos] Created issue #11 (do something better) - https://github.com/user/repo/issues/11
[Github-Todos] Created issue #12 (add security filter) - https://github.com/user/repo/issues/12
[Github-Todos] Added comment to issue #12 (add security filter) - https://github.com/user/repo/issues/11/#…
[Github-Todos] Injecting issue numbers to files…
[Github-Todos] Added a commit containing issue injections

安装

bash
npm install -g github-todos

进行 GitHub 身份验证

bash
github-todos auth

配置

虽然有很多选项,但由于此工具可能对您的项目产生重大影响(创建无用的问题,引起工作区冲突等),因此它必须具有保守的默认值,并且您必须了解这些选项。

有关详细信息(包括格式),请使用 GitHub-todos help config。以下是大多数可能有用的选项的简要列表:

  • 仓库配置:
  • repo 是要在其中创建问题的仓库(格式: "用户/仓库",默认值: 根据远程源推测)
  • service 是问题服务(默认值: "GitHub",可用值: "GitHub")
  • branches 是将启用钩子的分支(默认值: master,develop)
  • remotes 是将启用钩子的远程(建议: 设置多个会导致在将相同提交推送到不同启用的远程时出现重复问题,默认值: origin)
  • files 是将启用钩子的文件

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

JavaScript

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言