2 CONTRIBUTING
ylly edited this page 2026-06-16 08:16:23 +08:00
This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

贡献指南 (CONTRIBUTING)

感谢你对 gitlink-cli 的关注!本页面由 docs-assistant Skill 自动生成并维护。

环境准备

  • Go 1.26+
  • GitLink 账号并完成 auth login

开发流程

  1. Fork 仓库并克隆到本地
  2. 创建功能分支
  3. 编写代码并补充单元测试
  4. 本地验证:运行 go test ./...
  5. 提交 PR 到 master 分支

新增 Shortcut 命令

新增模块需在 shortcuts/register.go 中注册。

提交规范

  • feat: 新功能
  • fix: 修复 Bug
  • docs: 文档变更
  • refactor: 重构

【更新】文档维护说明2026-06-15 同步)

经 docs-assistant 体检,本仓库新增了 wiki/label/notification 命令模块, 贡献者在开发这些模块时请参考 shortcuts/ 目录下的实现。


由 gitlink-docs-assistant 自动生成并更新 | 2026-06-15