Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • M My Marketplace
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • 储凌赟
  • My Marketplace
  • Merge requests
  • !2

refactor: 提取公共格式规范并改进 gitlab-plugin 命令质量

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged 储凌赟 requested to merge worktree-my-marketplace-gitlab into main Feb 25, 2026
  • Overview 0
  • Commits 2
  • Pipelines 0
  • Changes 3

变更内容

  • 修复 commit-push-mr 的 allowed-tools 中 git checkout 匹配模式
  • 将 Chinese Conventional Commits 格式提取到 references/commit-convention.md,消除两个命令间的重复
  • 两个命令新增 git diff 工具权限和近期 commit 历史上下文
  • 添加工作区无变更时的终止逻辑
  • 移除过度限制的"不要发送其他消息"指令
  • commit-push-mr 新增输出 MR URL 步骤

测试计划

  • 验证 /gitlab-plugin:commit 正常工作
  • 验证 /gitlab-plugin:commit-push-mr 正常工作
  • 确认 commit-convention.md 通过动态内联正确加载
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: worktree-my-marketplace-gitlab