# gitlink-cli 功能全景

所有 Shortcuts 分类展示 · 点击分类展开 · 点击命令查看示例

14
分类
69
Shortcuts
📦仓库管理8 个命令▶
repo +list公开仓库列表▶

    gitlink-cli repo +list --user zhangsan

repo +info公开仓库详情▶

    gitlink-cli repo +info --owner Gitlink --repo forgeplus

repo +create需认证创建仓库▶

    gitlink-cli repo +create --name my-project --description "项目描述"

repo +fork需认证Fork 仓库▶

    gitlink-cli repo +fork --owner Gitlink --repo forgeplus

repo +delete需认证删除仓库（不可逆）▶

    gitlink-cli repo +delete --owner myuser --repo old-project

repo +batch-create需认证批量创建仓库▶

    gitlink-cli repo +batch-create --from repos.csv

repo +batch-update需认证批量更新仓库▶

    gitlink-cli repo +batch-update --from updates.csv

repo +add-member需认证添加仓库成员▶

    gitlink-cli repo +add-member --owner myuser --repo myrepo --user newmember --role developer

🌿分支管理5 个命令▶
branch +list公开分支列表▶

    gitlink-cli branch +list --owner Gitlink --repo forgeplus

branch +create需认证创建分支▶

    gitlink-cli branch +create --name feature/new-feature

branch +delete需认证删除分支（不可逆）▶

    gitlink-cli branch +delete --name feature/old-feature

branch +protect需认证保护分支▶

    gitlink-cli branch +protect --name main

branch +unprotect需认证取消保护▶

    gitlink-cli branch +unprotect --name main

🐛Issue 管理7 个命令▶
issue +list公开Issue 列表▶

    gitlink-cli issue +list --owner Gitlink --repo forgeplus --state open

issue +view公开Issue 详情▶

    gitlink-cli issue +view --owner Gitlink --repo forgeplus --number 4

issue +create需认证创建 Issue▶

    gitlink-cli issue +create --owner myuser --repo myrepo --title "Bug: 登录失败" --body "复现步骤"

issue +update需认证更新 Issue▶

    gitlink-cli issue +update --number 4 --title "新标题" --body "更新描述"

issue +close需认证关闭 Issue▶

    gitlink-cli issue +close --number 4

issue +batch-close需认证批量关闭 Issue▶

    gitlink-cli issue +batch-close --numbers 123,124 --dry-run

issue +comment需认证添加评论▶

    gitlink-cli issue +comment --number 4 --body "已修复"

🔀Pull Request9 个命令▶
pr +list公开PR 列表▶

    gitlink-cli pr +list --owner Gitlink --repo forgeplus --state open

pr +view公开PR 详情▶

    gitlink-cli pr +view --id 3

pr +create需认证创建 PR▶

    gitlink-cli pr +create --title "feat: 新功能" --head feature/x --base master

pr +merge需认证合并 PR▶

    gitlink-cli pr +merge --id 3 --method squash

pr +close需认证关闭 PR▶

    gitlink-cli pr +close --id 3

pr +files公开变更文件列表▶

    gitlink-cli pr +files --id 3

pr +diff公开查看提交列表▶

    gitlink-cli pr +diff --id 3

pr +comment需认证PR 评论▶

    gitlink-cli pr +comment --id 3 --body "LGTM"

pr +review需认证代码审查▶

    gitlink-cli pr +review --id 3 --event COMMENT --body "整体 LGTM"

🚀版本发布4 个命令▶
release +list公开发布列表▶

    gitlink-cli release +list --owner Gitlink --repo forgeplus

release +view公开发布详情▶

    gitlink-cli release +view --id <version_id>

release +create需认证创建发布▶

    gitlink-cli release +create --tag v1.0.0 --name "v1.0.0" --target master

release +delete需认证删除发布（不可逆）▶

    gitlink-cli release +delete --id <version_id>

📖Wiki 管理5 个命令▶
wiki +list公开Wiki 页面列表▶

    gitlink-cli wiki +list --owner Gitlink --repo forgeplus

wiki +view公开查看页面内容▶

    gitlink-cli wiki +view --owner Gitlink --repo forgeplus --title "Home"

wiki +create需认证创建页面▶

    gitlink-cli wiki +create --owner myuser --repo myrepo --title "API 文档" --file ./api.md

wiki +update需认证更新页面▶

    gitlink-cli wiki +update --owner myuser --repo myrepo --title "设计文档" --add "新内容"

wiki +delete需认证删除页面▶

    gitlink-cli wiki +delete --owner myuser --repo myrepo --title "废弃页面"

⚙️CI/CD4 个命令▶
ci +builds需认证构建列表▶

    gitlink-cli ci +builds --owner myuser --repo myrepo

ci +logs需认证构建日志▶

    gitlink-cli ci +logs --build 42 --stage 1 --step 1

ci +restart需认证重启构建▶

    gitlink-cli ci +restart --build 42

ci +stop需认证停止构建▶

    gitlink-cli ci +stop --build 42

🔔Webhook7 个命令▶
webhook +list需认证Webhook 列表▶

    gitlink-cli webhook +list --owner myuser --repo myrepo

webhook +info需认证Webhook 详情▶

    gitlink-cli webhook +info --owner myuser --repo myrepo --id 123

webhook +events公开支持的事件类型▶

    gitlink-cli webhook +events

webhook +create需认证创建 Webhook▶

    gitlink-cli webhook +create --url https://example.com/hook --events push

webhook +update需认证更新 Webhook▶

    gitlink-cli webhook +update --id 123 --events push,pull_request

webhook +test需认证测试 Webhook▶

    gitlink-cli webhook +test --id 123 --event push

webhook +delete需认证删除 Webhook▶

    gitlink-cli webhook +delete --id 123

🏢组织管理5 个命令▶
org +list公开组织列表▶

    gitlink-cli org +list

org +info公开组织详情▶

    gitlink-cli org +info --id Gitlink

org +members公开成员列表▶

    gitlink-cli org +members --id Gitlink

org +create需认证创建组织▶

    gitlink-cli org +create --name my-org --description "我的组织"

org +batch-add需认证批量添加成员▶

    gitlink-cli org +batch-add --id my-org --users "user1,user2"

👤用户与搜索4 个命令▶
user +me需认证当前登录用户▶

    gitlink-cli user +me

user +info公开用户详情▶

    gitlink-cli user +info --login zhangsan

search +repos公开搜索仓库▶

    gitlink-cli search +repos --keyword "machine learning"

search +users公开搜索用户▶

    gitlink-cli search +users --keyword "zhangsan"

🛡️安全与合规6 个命令▶
compliance +scan公开全量扫描▶

    gitlink-cli compliance +scan

compliance +license公开许可证合规检查▶

    gitlink-cli compliance +license

compliance +deps公开依赖许可证检查▶

    gitlink-cli compliance +deps

compliance +secrets公开敏感信息扫描▶

    gitlink-cli compliance +secrets

compliance +exposure公开PII 与暴露面扫描▶

    gitlink-cli compliance +exposure

compliance +vocab公开敏感词汇扫描▶

    gitlink-cli compliance +vocab

👋新人引导1 个命令▶
onboard +welcome需认证添加引导评论▶

    gitlink-cli onboard +welcome --issues "3,7,15"

👥团队管理3 个命令▶
team +list公开团队列表▶

    gitlink-cli team +list --org my-org

team +create需认证创建团队▶

    gitlink-cli team +create --org my-org --name dev-team

team +add-member需认证添加成员▶

    gitlink-cli team +add-member --org my-org --team dev-team --user newmember

📊贡献报告1 个命令▶
contrib +report公开贡献统计报告▶

    gitlink-cli contrib +report --owner myuser --repo myrepo

生成时间: 2026-06-23 15:54 · 运行 /code-insight 重新生成